home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / H191.ZIP / CA29-2.EXE / COM-AND.DOC < prev    next >
Text File  |  1992-12-03  |  207KB  |  6,160 lines

  1. COM-AND: IBM PC Communications and Accessories
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.           -----------------------------------------
  13.           COM-AND:    Communications and integrated
  14.           communications accessories for the IBM PC
  15.           -----------------------------------------
  16.  
  17.  
  18.  
  19.  
  20.     COM-AND version 2.9 is copyright 1992 by CABER Software.  It is
  21.     distributed freely and may be copied by anyone for any number
  22.     of machines, for purposes of evaluation.  The author offers
  23.     COM-AND and its accessory programs as a package, as "shareware".
  24.     If you USE COM-AND after evaluating it, you MUST pay for it.
  25.  
  26.  
  27.  
  28.     The complete user license and registration information is to be
  29.     found in the file REGISTER.DOC.  Limitations on redistribution
  30.     of COM-AND are set out in the file VENDOR.DOC.    These two files
  31.     are included with the COM-AND program release.
  32.  
  33.  
  34.  
  35.                  CABER Software
  36.                  R. (Scott) McGinnis
  37.                  P.O. Box 3607 Mdse Mart
  38.                  Chicago, IL 60654-0607
  39.  
  40.                  GEnie, Delphi: TARTAN
  41.                  CIS .......... 73147,2665
  42.                  Internet ..... 73147.2665@compuserve.com
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Version 2.9: 921203
  55.  
  56. COM-AND: IBM PC Communications and Accessories
  57.  
  58.  
  59.  
  60.     COM-AND version 2.9 is copyright 1992 by CABER Software.  All
  61.     rights are reserved world wide, excepting redistribution under the
  62.     shareware concept.  COM-AND is distributed freely and may be copied
  63.     by anyone for any number of machines, for purposes of evaluation.
  64.  
  65.  
  66.     Restrictions on redistribution are set out in the document file
  67.     VENDOR.DOC.  You may NOT distribute COM-AND or its documentation in
  68.     connection with ANY commercial venture, product, publication or
  69.     service without written approval from CABER Software.
  70.  
  71.  
  72.     COM-AND is distributed as shareware.  You may try COM-AND without
  73.     charge, to evaluate its usefulness to you.  You may evaluate COM-AND
  74.     for a period of up to 30 days.    If you continue to use COM-AND after
  75.     30 days, then you must pay for it.  Please read REGISTER.DOC for the
  76.     terms and conditions of the User License.
  77.  
  78.  
  79.     Additional benefits are available when you register COM-AND.  These
  80.     values include:
  81.  
  82.     .  A free Compuserve intro-pack
  83.     .  The Compuserve Automation script-set for COM-AND
  84.     .  A tailored dialing directory for your area code
  85.     .  Discounts on shareware magazines and books
  86.  
  87.     These offers are discussed in detail in REGISTER.DOC.  A simple
  88.     registration form is provided in the file REGISTER.FRM.  Please
  89.     print this form (or use REGISTER.CMD to print it), and include the
  90.     form with your payment.
  91.  
  92.  
  93.     The author supports COM-AND through electronic mail on the various
  94.     on-line services.  Several BBSes focused on COM-AND exist at this
  95.     time.  Voice support for COM-AND is also available from Support
  96.     EtCetera in Long Beach, CA.  Please read REGISTER.DOC for details
  97.     on support, and COM-AND BBSes.
  98.  
  99.  
  100.     CABER Software is a member of the Association of Shareware Profes-
  101.     sionals (ASP).    The ASP offers an ombudsman service to help you
  102.     resolve shareware related disputes with ASP members.  Please read
  103.     the file REGISTER.DOC for information on how to contact the ASP
  104.     Ombudsman.
  105.  
  106.  
  107.  
  108.  
  109. Version 2.9: 921203
  110.  
  111. COM-AND: IBM PC Communications and Accessories
  112.  
  113.  
  114.                  Table of Contents
  115.                  -----------------
  116.  
  117. I.    Introduction  .............................................. page 1
  118.  
  119.     A. What is COM-AND ......................................... page 1
  120.     B. Version 2? .............................................. page 2
  121.     C. This document ........................................... page 2
  122.  
  123. II.    Running the program  ....................................... page 3
  124. III.    CRT Display  ............................................... page 6
  125. IV.    Accessory Programs ......................................... page 8
  126. V.    Menu mode .................................................. page 10
  127. VI.    Commands: available in CRT and accessory modes ............. page 12
  128. VII.    Commands: CRT mode only .................................... page 15
  129. VIII.    Commands: Accessory only ................................... page 18
  130. IX.    Dialing (Alt-D, Alt-R and Alt-H) ........................... page 19
  131.  
  132.     A. Dialing (Alt-D) ......................................... page 19
  133.     B. Dialing directory maintenance (Alt-D) ................... page 20
  134.     C. Redial (Alt-R) .......................................... page 22
  135.     D. Hangup (Alt-H) .......................................... page 23
  136.     E. A note on modem speed ................................... page 23
  137.  
  138. X.    Macros (Alt-M and Alt-0/9) ................................. page 24
  139.  
  140.     A. Revise entry (0-9) ...................................... page 24
  141.     B. Load a new file (Alt-M subcommand F) .................... page 25
  142.     C. Clear entries (Alt-M subcommand C) ...................... page 26
  143.     D. Execute entry (Alt-0 through Alt-9) ..................... page 26
  144.  
  145. XI.    Encryption/Decryption (Alt-N) .............................. page 27
  146. XII.    Program Configuration (Alt-S, Alt-P, Alt-O and Alt-J) ...... page 30
  147.  
  148.     A. Setup (Alt-S) ........................................... page 30
  149.     B. Communications Parameters (Alt-P) ....................... page 34
  150.     C. Options (Alt-O) ......................................... page 36
  151.     D. Colors (Alt-J) .......................................... page 43
  152.  
  153. XIII.    File Transfer (PgUp, PgDn, Alt-F, F4) ...................... page 44
  154.  
  155.     A. XMODEM Up/Download ...................................... page 46
  156.     B. YMODEM Up/Download ...................................... page 47
  157.     C. ZMODEM Up/Download ...................................... page 48
  158.     D. KERMIT Up/Download ...................................... page 49
  159.     E. CIS-B and B+ Up/Download ................................ page 50
  160.  
  161.  
  162.  
  163.  
  164. Version 2.9: 921203
  165.  
  166. COM-AND: IBM PC Communications and Accessories
  167.  
  168.  
  169.                  Table of Contents
  170.                  -----------------
  171.  
  172. XIII.    File Transfer (continued)
  173.  
  174.     F. ASCII Upload ............................................ page 51
  175.     G. ASCII Download .......................................... page 53
  176.     H. File directory (Alt-F) .................................. page 54
  177.     I. Default download path (F4) .............................. page 54
  178.  
  179. XIV.    Logging and Call-logging (F7, F9, Alt-U) ................... page 55
  180.  
  181.     A. Disk logging [transcripting] (F7) ....................... page 58
  182.     B. Log hold [transcripting] (F9) ........................... page 58
  183.     C. Annotate call-log (Alt-U) ............................... page 58
  184.  
  185. XV.    Miscellaneous Functions .................................... page 59
  186.  
  187.     A. Default Drive:Subdirectory (F3) ......................... page 59
  188.     B. Keyboard display (F8) ................................... page 59
  189.     C. Chat mode (Alt-A) ....................................... page 59
  190.     D. Redisplay [backscreen] (Alt-B) .......................... page 59
  191.     E. Clear screen (Alt-C and received TOF) ................... page 60
  192.     F. Echo (Alt-E) ............................................ page 60
  193.     G. Blank line suppression (Alt-G) .......................... page 60
  194.     H. 43/25 line toggle (Alt-L) ............................... page 60
  195.     I. Kermit Parameters (Alt-K) ............................... page 60
  196.     J. Time and Alarms (Alt-T) ................................. page 61
  197.     K. Playback (Alt-W) ........................................ page 61
  198.     L. Program termination (Alt-X) ............................. page 61
  199.     M. Parity (hi-bit) mask (Alt-Z) ............................ page 62
  200.  
  201. XVI.    DOS Gateway (Alt-F10) ...................................... page 63
  202. XVII.    Emulation (Alt-V)  ......................................... page 64
  203.  
  204.     A. Display Emulation ....................................... page 64
  205.     B. Translation ............................................. page 65
  206.     C. Remapping ............................................... page 66
  207.     D. Other related settings .................................. page 67
  208.  
  209. XVIII.    Script Language ............................................ page 68
  210. XIX.    Text Editor ................................................ page 69
  211. XX.    Program Requirements ....................................... page 70
  212. XXI.    Program and Author Information    ............................ page 71
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219. Version 2.9: 921203
  220.  
  221. COM-AND: IBM PC Communications and Accessories
  222.  
  223.  
  224.                 Appendices
  225.                 ----------
  226.  
  227. A.    Switches and Parameters .................................... page 72
  228. B.    COM-AND Error display ...................................... page 75
  229. C.    Files ...................................................... page 76
  230. D.    Windowed XMODEM (WXMODEM) .................................. page 77
  231. E.    ANSI ,VT100, and VT52 sequences ............................ page 78
  232.  
  233.     1. ANSI sequences .......................................... page 78
  234.     2. VT100 sequences ......................................... page 80
  235.     3. VT52 sequences .......................................... page 82
  236.  
  237. F.    Vidtex and RLE files ....................................... page 83
  238.  
  239.     1. Vidtex .................................................. page 83
  240.     2. RLE Files ............................................... page 84
  241.  
  242. G.    External Protocol drivers .................................. page 85
  243. H.    Modem Configuration ........................................ page 87
  244.  
  245.     1. DTR (Data Terminal Ready) ............................... page 87
  246.     2. CD (Carrier Detect) ..................................... page 87
  247.  
  248. I.    Environment variables ...................................... page 88
  249.  
  250.     1. COM-AND= ................................................ page 88
  251.     2. COMSPEC= ................................................ page 88
  252.     3. Other variables ......................................... page 88
  253.  
  254. J.    Background operation ....................................... page 90
  255. K.    Encoded music .............................................. page 91
  256. L.    BIOS Comm Read/Write ....................................... page 92
  257. M.    MODEM Initialization ....................................... page 93
  258. N.    COM-AND's Backscreen ....................................... page 96
  259. O.    Customizing COM-AND ........................................ page 97
  260. P.    BIOS (INT 14h) communications .............................. page 100
  261. Q.    16550A(N) UARTs ............................................ page 102
  262. R.    High-Speed communications .................................. page 103
  263. S.    Doorways ................................................... page 104
  264. T.    Command Index .............................................. page 107
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Version 2.9: 921203
  275.  
  276. COM-AND: IBM PC Communications and Accessories                 Page   1
  277.  
  278.  
  279. I.    Introduction
  280.  
  281.  
  282.     A. What is COM-AND?
  283.  
  284.  
  285.        COM-AND for the IBM PC and compatibles is a communications
  286.        program, for use by itself, or with several integrated accessory
  287.        programs (which themselves may be used independent of COM-AND).
  288.        COM-AND provides standard comm program functions:  a dialing
  289.        directory, macros, disk logging, binary and ASCII file transfers,
  290.        text editing, scripted execution and so on.
  291.  
  292.  
  293.        Four accessories are available for use with Version 2.9 of COM-
  294.        AND.  These accessories are for use over conferencing services
  295.        such as People/Link's PARTY, GEnie's RTC and CIS's CB:
  296.  
  297.         PC-VCO provides a way to 'see' and 'hear' people talking.
  298.         CCHESS supports chess games with another conference user.
  299.         CBRIDG supports bridge games with other conference users.
  300.         CCOLOR tracks conference users, coloring each speaker's
  301.                received text differently
  302.  
  303.  
  304.        These accessories are available uploaded separately, not as
  305.        a part of COM-AND's release.  Please refer to the accessory
  306.        documents for more detailed discussions of their function.
  307.  
  308.  
  309.        COM-AND Version 2.9 executes as a CRT based comm program either
  310.        in 25 line text mode on a CGA or monochrome screen, 25/43 line
  311.        mode on an EGA display and 25/50 on a VGA.  When an accessory is
  312.        loaded through COM-AND (or when COM-AND is loaded by an acces-
  313.        sory), most of the functions of COM-AND are available through
  314.        the accessory.
  315.  
  316.  
  317.        COM-AND and its accessories (PC-VCO, CCHESS, CBRIDG, and CCOLOR)
  318.        may be copied freely and distributed to anyone for any number of
  319.        machines, for purposes of evaluation.  The author offers COM-AND
  320.        as "shareware".  If you USE COM-AND after evaluating it, you
  321.        MUST pay for it.
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Version 2.9: 921203
  330.  
  331. COM-AND: IBM PC Communications and Accessories                 Page   2
  332.  
  333.  
  334. I.    Introduction (continued)
  335.  
  336.  
  337.     B. Version 2?
  338.  
  339.  
  340.        Version 1 of this software was released in 1986 as PC-VCO.  In
  341.        other words, the accessory and communications programs were one
  342.        single program.
  343.  
  344.  
  345.        In 1988, version 2.0 of PC-VCO had grown to such a size that the
  346.        program was split into two executable programs.  From that point
  347.        in time, accessories have been developed and released as indivi-
  348.        dual programs, using COM-AND as a base.
  349.  
  350.  
  351.        Version 2.9 is the tenth release.
  352.  
  353.  
  354.     C. This document
  355.  
  356.  
  357.        This document describes the features of COM-AND, both standard
  358.        communications features and as much of the accessory program
  359.        features as may be appropriate.  For the most part, however, any
  360.        discussion of accessory functions is limited in this document.
  361.  
  362.  
  363.        Accessories are released separately.  A detailed guide to each
  364.        accessory is to be found in its own documentation.
  365.  
  366.  
  367.        This document addresses manual use of COM-AND, and may be treated
  368.        as a reference document.  In this document, basic DOS skills are
  369.        assumed, as well as basic telecommunications concepts.
  370.  
  371.  
  372.        A detailed guide to installation, and an introduction to modem
  373.        communication is to be found in the document INTRO.DOC.
  374.  
  375.  
  376.        For details of COM-AND's script language, please refer to the
  377.        file CASCRIPT.DOC, included with this release.  The internal
  378.        editor is documented in CAEDIT.DOC, included with this release.
  379.  
  380.  
  381.  
  382.  
  383.  
  384. Version 2.9: 921203
  385.  
  386. COM-AND: IBM PC Communications and Accessories                 Page   3
  387.  
  388.  
  389. II.    Running the program
  390.  
  391.  
  392.     Generally, COM-AND is invoked at the DOS prompt with the command:
  393.  
  394.     -----------------------------------------------------------------
  395.     "d>" COM-AND <options>
  396.  
  397.     Where "d>" is the DOS prompt, and
  398.           <options> is/are (<parm> (<parm> ...))
  399.           and <parm> is either a switch or a parameter
  400.  
  401.     Refer to Appendix A for a description of switches and parameters.
  402.     -----------------------------------------------------------------
  403.  
  404.     COM-AND could be invoked with a command such as:
  405.  
  406.            "d>" COM-AND
  407.  
  408.     to simply start COM-AND, or, for example, the command:
  409.  
  410.            "d>" COM-AND DIAL 1
  411.  
  412.     to dial dialing directory entry #1 as soon as COM-AND is loaded.
  413.  
  414.     The command:
  415.  
  416.            "d>" COM-AND /FSCRIPT
  417.  
  418.     would be used to perform the commands contained in the file SCRIPT
  419.     (or SCRIPT.CMD or SCRIPT.ENF, whichever is first in the directory).
  420.  
  421.  
  422.     COM-AND requires no other file for its execution.  It creates a
  423.     parametrization file, dialing directory, and macro definition if
  424.     needed.
  425.  
  426.  
  427.     Note:  Once loaded, COM-AND does not require its executable disk
  428.     file again.  No program disk need be retained in the default drive
  429.     if loaded from floppy diskette (though it is needed again to change
  430.     the dialing directory, or macro, or accessory definitions).
  431.  
  432.  
  433.     Run-time switches and parameters are discussed in Appendix A.  Files
  434.     used by COM-AND are discussed in Appendix C.  Default pathing of
  435.     file names is discussed in Appendix I.
  436.  
  437.  
  438.  
  439. Version 2.9: 921203
  440.  
  441. COM-AND: IBM PC Communications and Accessories                 Page   4
  442.  
  443.  
  444. II.    Running the program (continued)
  445.  
  446.  
  447.     The first time COM-AND is loaded, it establishes default settings
  448.     (as described in Appendix A).  The comm port used is the first comm
  449.     port installed (if none are found, COM1 is used).  On some machines,
  450.     when no port is usable, COM-AND 'hangs'.  If this happens, you must
  451.     boot the machine and reload COM-AND thusly:
  452.  
  453.            "d>" COM-AND /I
  454.  
  455.     The /I switch directs COM-AND to NOT issue a modem initialization
  456.     string.  When COM-AND is loaded in this manner, the serial port is
  457.     unused until a character is transmitted.  Use Alt-P to change the
  458.     default port (remember to save the setting).
  459.  
  460.  
  461.     The very first time COM-AND is loaded:
  462.  
  463.     1) Use DOS to move to the subdirectory where you plan to install
  464.        COM-AND...  where previous versions have been installed.
  465.  
  466.     2) Extract the distribution files onto the selected subdirectory.
  467.        Have a care not to overwrite files you want to keep!
  468.  
  469.     3) Load COM-AND (as above)
  470.  
  471.        If COM-AND is loaded on a subdirectory where no COM-AND.DFT
  472.        resides AND if the environment variable COM-AND= does not point to
  473.        a subdirectory where COM-AND.DFT may be found, COM-AND creates a
  474.        new .DFT file.
  475.  
  476.        A script named INSTALL.CMD is included with this release.  When
  477.        COM-AND creates its .DFT file (as opposed to updating an existing
  478.        one), if the script INSTALL.CMD is available, INSTALL is invoked
  479.        automatically upon completion of initialization.
  480.  
  481.        INSTALL takes over some of the decision process, and some of the
  482.        work required to configure COM-AND for use.    It is in no way
  483.        necessary to the execution of COM-AND, however.
  484.  
  485.        INSTALL performs the following functions (all steps in INSTALL are
  486.        optional):
  487.  
  488.        o  Adds a COM-AND= environment variable to the AUTOEXEC.BAT
  489.        o  Sets (and searches for possible) serial ports
  490.        o  Sets the default speed for the serial port selected
  491.        o  Sets modem command strings according to modem model
  492.  
  493.  
  494. Version 2.9: 921203
  495.  
  496. COM-AND: IBM PC Communications and Accessories                 Page   5
  497.  
  498.  
  499. II.    Running the program (continued)
  500.  
  501.  
  502.     5) Review settings in COM-AND
  503.  
  504.        o  Check Alt-P
  505.  
  506.           .. Check the COM port you use (1/2/3/4).
  507.           .. Check the default speed selection.  It is not important if
  508.          you always use the dialing directory.    Set it anyway.
  509.           .. Remember to save new settings.
  510.  
  511.        o  Check Alt-S
  512.  
  513.           .. Check modem strings against your particular modem,
  514.           .. The backscreen buffer size defaults to 4K.  You can set it
  515.          up to 64K, for redisplay and transcripting.
  516.           .. Remember to save the new settings.
  517.  
  518.        o  Check Alt-O
  519.  
  520.           .. Set flags the way you want them (e.g. exit query on, d*mned
  521.          advert off, and so on;  Note BIOS/DIRECT settings)
  522.           .. Remember to save new settings.
  523.  
  524.     6) Review the accessories (F1).
  525.  
  526.        You may revise the contents of accessory definitions with the 'r'
  527.        subcommand.    You may want to add entries for a listing program
  528.        and editor...  perhaps PC-VCO...  perhaps CCOLOR...
  529.  
  530.     7) Exit COM-AND with Alt-X.
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549. Version 2.9: 921203
  550.  
  551. COM-AND: IBM PC Communications and Accessories                 Page   6
  552.  
  553.  
  554. III.    CRT Display
  555.  
  556.  
  557.     When COM-AND is loaded, a pop-up announces that initialization is
  558.     occurring.  Initialization of the modem is performed automatically
  559.     by COM-AND.  The modem initialization string specified through the
  560.     Setup function (Alt-S) is issued to the modem when COM-AND is
  561.     loaded, after the modem port is set to the default rate, parity,
  562.     data and stop values specified (at run time or with Alt-P).
  563.  
  564.  
  565.     Other initialization includes:    looking for a mouse, and loading
  566.     files (dialing directory, macro, and accessory definitions).
  567.  
  568.  
  569.     Once initialization is complete, COM-AND enters terminal mode, and
  570.     your PC serves as a 24 line (CGA and monochrome) or 24/42(50) line
  571.     (EGA/VGA) CRT.    The first 24(42/49) lines are a scrolling region for
  572.     received text.    The last line is used for program identification,
  573.     status and keyboard display.  Carriage return/line feed combinations
  574.     received cause the text area to scroll.
  575.  
  576.  
  577.     Text typed on the keyboard is transmitted out the COM port.  What
  578.     is received through the COM port is displayed on the screen.  Special
  579.     escape sequences are performed by COM-AND (optional).  Control char-
  580.     acters (except null) are displayed according to the IBM character set
  581.     (optional).  Received characters may be masked to 7 bits (optional).
  582.  
  583.  
  584.     In order to connect to a host, usually the first step would be to
  585.     dial a phone number to connect to a network node.  For example, with
  586.     a Smartmodem, the following directs the modem to dial the phone:
  587.  
  588.          AT E1 DT 245-9110 <return>
  589.  
  590.  
  591.     This sequence instructs the Smartmodem to echo entry (E1) and dial
  592.     using tone dialing (DT) PLINK Chicago (245-9110) as a local call.
  593.     Modem initialization could be done between the E1 and DT as needed.
  594.  
  595.  
  596.     This sequence is automated in COM-AND through a dialing directory
  597.     (Alt-D).  Phone numbers and parameters are maintained in the
  598.     directory.  The phone is dialed with the same Alt-D window.
  599.  
  600.  
  601.  
  602.  
  603.  
  604. Version 2.9: 921203
  605.  
  606. COM-AND: IBM PC Communications and Accessories                 Page   7
  607.  
  608.  
  609. III.    CRT Display (continued)
  610.  
  611.  
  612.     Many people prefer to make connection to a host with a script, how-
  613.     ever.  Scripts for dialing and connecting to several popular services
  614.     are included with this release of COM-AND.  A script is a 'program'
  615.     written for another program, in this case for COM-AND.
  616.  
  617.  
  618.     Whether the connection is made manually or through a script, every-
  619.     thing that happens appears in the text area of the CRT display.
  620.  
  621.  
  622.     The keyboard on the IBM PC provides ordinary typewriter-like keys and
  623.     other keys (e.g.  F1, F2...).  The 'other' keys are used by COM-AND
  624.     for control purposes, as the mention of Alt-D above shows.  The Alt-
  625.     key, when held down while another key is pressed, is treated as a
  626.     special keystroke.  Press Alt-D and a window pops-up displaying the
  627.     current dialing directory.  Press F2 and a window pops-up to display
  628.     the scripts available on the current subdirectory, and to accept a
  629.     script file name to execute.
  630.  
  631.  
  632.     The remaining chapters of this document describe the functions of
  633.     COM-AND as they may be manually invoked.  The internal editor is
  634.     described in a separate document, CAEDIT.DOC.
  635.  
  636.  
  637.     A separate document (SCRIPTS.DOC) summarizes the scripts released
  638.     with this version of COM-AND.  [An individual script may or may not
  639.     have its own document covering its use.]  A separate document
  640.     (CASCRIPT.DOC) describes the script language and concepts.
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659. Version 2.9: 921203
  660.  
  661. COM-AND: IBM PC Communications and Accessories                 Page   8
  662.  
  663.  
  664. IV.    Accessory Programs
  665.  
  666.  
  667.     Released with the 2.9 version of COM-AND are four programs labelled
  668.     'accessories':  PC-VCO, CCHESS, CBRIDG and CCOLOR.  PC-VCO, CCHESS,
  669.     CBRIDG, and CCOLOR are programs in their own right, and may be used
  670.     with or without the COM-AND program (according to your preference
  671.     in comm program).
  672.  
  673.  
  674.     Accessory programs are usually loaded with COM-AND for a special
  675.     purpose (such as PC-VCO: Visual Conferencing), after connection has
  676.     been established through COM-AND.  When COM-AND is loaded as above
  677.     (i.e.  "d> COM-AND"), accessories would be loaded 'on top' of
  678.     COM-AND through the F1 Menu.
  679.  
  680.  
  681.     However:  the accessory program may be loaded first.  When PC-VCO is
  682.     run from the DOS prompt without the '/P' switch, it looks for the
  683.     COM-AND program on the current subdirectory (or in the subdirectory
  684.     indicated by a 'COM-AND=' environment variable).  PC-VCO does not run
  685.     without the '/P' switch unless it can find COM-AND.  PC-VCO loads
  686.     COM-AND, and the F1 menu in COM-AND is made unavailable for use.
  687.  
  688.  
  689.     The integration of accessory programs into COM-AND means:
  690.  
  691.     (1) the accessory loads COM-AND if COM-AND isn't loaded already
  692.         (unless you loaded the accessory "/P"),
  693.  
  694.     (2) COM-AND functions such as macros and dialing directory are
  695.         available in the accessory when COM-AND is loaded, and
  696.  
  697.     (3) settings made in COM-AND carry over to the accessory when it
  698.         is loaded, and settings made in the accessory carry over to
  699.         COM-AND when the accessory terminates.
  700.  
  701.  
  702.     When an accessory program loads COM-AND, COM-AND is limited to the
  703.     use of a single accessory (and no other, although you may gateway
  704.     to DOS).  When COM-AND is loaded first, a menu of accessories,
  705.     arranged somewhat like the dialing directory, is presented.  One
  706.     accessory after another may be selected, each new accessory selec-
  707.     tion automatically terminating the previous one.
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. Version 2.9: 921203
  715.  
  716. COM-AND: IBM PC Communications and Accessories                 Page   9
  717.  
  718.  
  719. IV.    Accessory Programs (continued)
  720.  
  721.  
  722.     An accessory is loaded by pressing F1, and selecting the entry you
  723.     choose to execute.  [The F1 menu is available only on the CRT side,
  724.     and only when COM-AND is loaded first.]
  725.  
  726.  
  727.     The F1 menu defines an accessory as:
  728.  
  729.     o    A title which is displayed in the menu
  730.     o    A subdirectory for use during the accessory (optional)
  731.     o    A script file to perform (optional)
  732.     o    A program to load, along with run parameters (optional)
  733.  
  734.  
  735.     An accessory to COM-AND, therefore, might be any COM-AND script, or
  736.     most any program, or both.  You are not limited to the ones coded for
  737.     COM-AND.  If you have a favorite editor you'd like to use to keep
  738.     notes on-line, define it as an accessory...  If you like to look at
  739.     READMAC (or GIF) graphics during conferences, define an accessory
  740.     for each of several favorite pictures...
  741.  
  742.  
  743.     To create a new entry, use the revise subcommand ("R").  You are
  744.     prompted for each of the above values.    The subdirectory specified
  745.     is used as the default for all program and file accesses when you
  746.     invoke the accessory.  The program name must be given in full (e.g.
  747.     XXX.COM or YYY.EXE).  Batch files are not executable as accessories
  748.     (at this time); however, you may use "COMMAND.COM /C FILE.BAT" to
  749.     effect the execution of a batch file.
  750.  
  751.  
  752.     Accessories integrated into COM-AND (such as PC-VCO) permit switching
  753.     between CRT and accessory modes.  A loaded accessory is terminated
  754.     with the "T" subcommand of F1, or by simply loading a new accessory.
  755.  
  756.  
  757.     COM-AND supports multiple accessory directory files.  A new accessory
  758.     directory is manually selected with the 'F' subcommand of the F1
  759.     window.  Note:    the new file name is also reflected in the Alt-S
  760.     window (but isn't saved for the next time).
  761.  
  762.  
  763.     External protocol drivers may be implemented as accessories, easily.
  764.     Refer to the Appendix G for a discussion of one such driver's
  765.     implementation as an accessory (DSZ for file transfers).
  766.  
  767.  
  768.  
  769. Version 2.9: 921203
  770.  
  771. COM-AND: IBM PC Communications and Accessories                 Page  10
  772.  
  773.  
  774. V.    Menu mode
  775.  
  776.  
  777.     An easy way to get to know a new program is through a summary of
  778.     functions it provides.    In COM-AND, the F10 key provides a command
  779.     summary.  Like most communications programs, COM-AND ties its func-
  780.     tions to special keys (Alt-D for dialing, Alt-F for file directory,
  781.     and so on).  This is done for purposes of speed...  host services
  782.     charge by the minute... every keystroke counts!
  783.  
  784.  
  785.     However, beginning with version 2.5, almost every function of COM-AND
  786.     is also available through a 'menu mode'.  When COM-AND is run with
  787.     the /V switch (or if menu mode is set permanently through Alt-O,
  788.     Options), the top line of the screen displays a 'menu bar'.  Each
  789.     item on the top bar may be selected in turn, and a menu pulled down
  790.     to list functions.  The equivalent keystroke is displayed for every
  791.     item in the pull-downs.
  792.  
  793.  
  794.     In menu mode, items from the top bar may be selected with the mouse,
  795.     or the cursor keys.  Pull-down windows are opened in the same way.
  796.     Keystrokes active on the top bar (when no pull-down is open) are:
  797.  
  798.     Mouse        Keystroke    Menu mode ON    Menu mode OFF
  799.     --------------- --------------- --------------- ----------------
  800.     Left motion    Cursor left    Top bar select    Backspace sent
  801.     Right motion    Cursor right    Top bar select    Space transmitted
  802.     Downward motion Cursor down    Open pull-down    It beeps
  803.     Upward motion    Cursor up    Open pull-down    It beeps
  804.  
  805.  
  806.     Once an item from the top bar is 'opened' or 'pulled-down', the usage
  807.     changes slightly.  Within a pull-down, keystrokes are:
  808.  
  809.     Mouse            Keystroke        Menu mode ON
  810.     ------------------- --------------- ---------------------------
  811.     Left motion        Cursor left     Open pull-down to left
  812.     Right motion        Cursor right    Open pull-down to right
  813.     Downward motion     Cursor down     Select next successive item
  814.     Upward motion        Cursor up        Select previous item
  815.  
  816.     Left button click   PgDn        Select next successive item
  817.     Right button click  PgUp        Select previous item
  818.     Left double click   Carriage rtn    Execute selected item
  819.     Right double click  ESCAPE        Cancel window
  820.  
  821.  
  822.  
  823.  
  824. Version 2.9: 921203
  825.  
  826. COM-AND: IBM PC Communications and Accessories                 Page  11
  827.  
  828.  
  829. V.    Menu mode (continued)
  830.  
  831.  
  832.     Within function 'windows' (such as Alt-D dialing), the above key-
  833.     strokes and mouse actions have the same general meaning. [Only in
  834.     menu mode pull-downs do left/right motions/cursor keys open new
  835.     windows, however.]
  836.  
  837.  
  838.     At this point, a note on mouse usage seems appropriate... COM-AND
  839.     uses a Microsoft Mouse (or equivalent) if it finds one, when the /M
  840.     run-time switch is not used.  Even for the miceless, left, right,
  841.     up, and down motions should be self-explanatory.  However, mention
  842.     of 'buttons' and 'double clicks' requires some discussion.
  843.  
  844.  
  845.     The Microsoft Mouse has two buttons.  COM-AND implements the left
  846.     button as PgUp and the right button as PgDn, as shown in the table
  847.     above.    However, when a button is pressed, it is not 'executed'
  848.     immediately.  After a button press, COM-AND waits for a short moment
  849.     to determine if the button is being pressed once, or twice in rapid
  850.     succession.  A left 'double click' is taken as a carriage return,
  851.     and a 'right double click' is taken as ESCAPE.  The interval after
  852.     which COM-AND takes a button press as a single press may be changed
  853.     through Alt-S, Setup.
  854.  
  855.  
  856.     All of this is to say:    in any COM-AND window where there are
  857.     multiple items, the cursor keys, mouse up/down motions, and mouse
  858.     buttons may be used to select an item.    [Every window where this is
  859.     the case 'highlights' the current selection.] A double click on the
  860.     mouse left button executes the selection (just as a carriage
  861.     return), and a double click on the mouse right button cancels the
  862.     function (just as ESCAPE).
  863.  
  864.  
  865.     The menu mode of COM-AND permits all 'manual' functions, such as
  866.     dialing, hanging up, toggling disk capture, exiting the program, and
  867.     so on, to be performed entirely with a mouse (or the cursor keys
  868.     even).    Of course, someone somewhere must have done the typing to
  869.     update the dialing directory, to define the macros...
  870.  
  871.  
  872.     But as stated at the outset, its an easy way to get to know the
  873.     program.
  874.  
  875.  
  876.  
  877.  
  878.  
  879. Version 2.9: 921203
  880.  
  881. COM-AND: IBM PC Communications and Accessories                 Page  12
  882.  
  883.  
  884. VI.    Commands:  available in both COM-AND and Accessory
  885.  
  886.  
  887.     COM-AND provides the following command keys both on the CRT side, and
  888.     during an accessory:
  889.  
  890.     F1    Switch between text (CRT) and accessory modes:    As described
  891.         above, the F1 key behaves differently, according to the way
  892.         you loaded COM-AND.  When COM-AND is directly loaded, F1
  893.         provides a menu of accessories and functions.  When an
  894.         accessory loads COM-AND by default, the F1 key is restricted
  895.         to switching back and forth between CRT and accessory modes.
  896.  
  897.     F10    Help screen:  All currently implemented commands are summar-
  898.         ized on this screen.  Any command may be executed directly
  899.         while this screen is displayed.  The help screen displayed is
  900.         either by COM-AND or from the accessory, according to the
  901.         current mode.
  902.  
  903.     Alt-F10 DOS Gateway:  If sufficient memory is available, COM-AND
  904.         executes a shell program.  This is normally a second copy
  905.         COMMAND.COM for full access to DOS while a communication
  906.         session is in progress.
  907.  
  908.     Ctl-End Break:    This sends a true 'break' signal.
  909.  
  910.     Ctl-Prt Printer:  Toggle (i.e. turn on/off) printing to LP1.
  911.  
  912.     Alt-C    Clear: Clear the text area of the screen.
  913.  
  914.     Alt-D    Dialing directory:  Enter, change, execute, and print the
  915.         dialing directory entries.  Please refer to Chapter IX,
  916.         page 19.
  917.  
  918.     Alt-E    Echo: Toggle local echo.  [This function may also be con-
  919.         trolled through the dialing directory (Echo ON).] In 'full
  920.         duplex' (echoplex), the host must echo back what is typed
  921.         for you to see it (you set Echo OFF).  In 'half duplex',
  922.         COM-AND echoes what is typed immediately (Echo ON).
  923.  
  924.     Alt-F    File directory:  A display similar to the DOS DIR command
  925.         command is displayed in a window.  Please refer to page 54.
  926.  
  927.     Alt-G    Blank line suppression:  Toggle.  COM-AND may suppress
  928.         blank lines (double spacing) if you wish.  You may make
  929.         this a program default through the Alt-O options menu.
  930.  
  931.     Alt-H    Hangup:  Hangup the phone.
  932.  
  933.  
  934. Version 2.9: 921203
  935.  
  936. COM-AND: IBM PC Communications and Accessories                 Page  13
  937.  
  938.  
  939. VI.    Commands: available in both COM-AND and Accessory (continued)
  940.  
  941.  
  942.     Alt-I    Program information:  Author information.  Propaganda.
  943.  
  944.     Alt-M    Macros: Define a macro for Alt-0 through Alt-9.  Please
  945.         refer to Chapter X, page 24.
  946.  
  947.     Alt-N    Encrypt/decrypt a file: Encrypted files may be used as
  948.         scripts.  Files cannot be encrypted/decrypted in place!!!
  949.         Please refer to Chapter XI, page 27.
  950.  
  951.         Note: Should the encrypted file be modified in any way, or
  952.         the password be lost, there is little chance of recovery.
  953.         Neither CABER Software nor the author will be liable for any
  954.         damages or lost revenues incurred through the use of this
  955.         function beyond the registration price paid for COM-AND.
  956.  
  957.     Alt-O    Options:  Set controlling flags for COM-AND.  Note: although
  958.         this menu may be used from either COM-AND or accessory, it
  959.         really only effects COM-AND settings.  Refer to page 43.
  960.  
  961.     Alt-P    Comm Parameters:  Set rate, parity, number of data and stop
  962.         bits for use when COM-AND is initially loaded.    These
  963.         settings are overridden by run-time switches.  Whatever
  964.         the current setting, the dialing directory overrides.
  965.         Please refer to page 34.
  966.  
  967.         Note: Although this menu may be used from either COM-AND or
  968.         accessory, it really only effects COM-AND settings.  Each
  969.         accessory has an Alt-P function as well accessible only when
  970.         the accessory is loaded with the '/P' switch.
  971.  
  972.     Alt-Q    Editor: You may invoke COM-AND's text editor to view or
  973.         to change a text file, at any time.  For an overview,
  974.         please refer to Chapter XIX (page 69, below).  For a
  975.         detailed description, refer to the CAEDIT.DOC file.
  976.  
  977.     Alt-R    Redial the last number dialed:    The program redials the last
  978.         number dialed until the function is terminated (with ESC),
  979.         or connection is made.
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989. Version 2.9: 921203
  990.  
  991. COM-AND: IBM PC Communications and Accessories                 Page  14
  992.  
  993.  
  994. VI.    Commands: available in both COM-AND and Accessory (continued)
  995.  
  996.     Alt-S    Setup:    Define initial program values, such as Modem initial-
  997.         ization, the Modem Hangup sequence, and file names.  Please
  998.         refer to page 30.
  999.  
  1000.         Note: Although this menu may be used from either COM-AND or
  1001.         accessory, it really only effects COM-AND settings.  Each
  1002.         accessory has an Alt-S function as well which may or may not
  1003.         be accessible when COM-AND is used to load the accessory.
  1004.  
  1005.     Alt-T    Elapsed time:  The time the program was loaded, and the time
  1006.         the last call (Alt-D or Alt-R) was placed, are displayed.
  1007.         The 'last call time' may be reset.  A real-time alarm may be
  1008.         set (for one time use, or permanently).  Refer to page 61.
  1009.  
  1010.     Alt-U    Annotate call-log:  COM-AND keeps (if you wish) a log of
  1011.         calls, hangups, disconnects and so on.    You may enter free-
  1012.         form notes into the log through this window.  Please refer
  1013.         to Chapter XIV, page 55.
  1014.  
  1015.     Alt-X    Exit the program:  If the modem you use reports 'carrier'
  1016.         and you exit without hanging-up, you are asked if a hangup
  1017.         is desired.
  1018.  
  1019.         NOTE:  a script may override the Alt-X function.  When this
  1020.         happens, after Alt-X is pressed (and after the hangup query
  1021.         if it is needed) a script may start!
  1022.  
  1023.     Alt-Z    Parity mask:  Toggle.  The high bit mask is used only for
  1024.         text received and displayed.  It has no effect on file
  1025.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, and CIS-B).
  1026.  
  1027.     Alt-0/9 Send a Macro:  A string of characters defined through the
  1028.         Alt-M command described above is transmitted.  Please refer
  1029.         to Chapter X, page 24.
  1030.  
  1031.     ---------------------------------------------------------------
  1032.     Note also functions defined below: "Commands: CRT modem only".
  1033.     ---------------------------------------------------------------
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. Version 2.9: 921203
  1045.  
  1046. COM-AND: IBM PC Communications and Accessories                 Page  15
  1047.  
  1048.  
  1049. VII.    Commands: CRT mode only
  1050.  
  1051.  
  1052.     COM-AND provides the following command keys only in CRT mode:
  1053.  
  1054.  
  1055.     F2    Execute a script:  A window is opened to request the name of
  1056.         the script file.  The extension ".CMD" is attempted if the
  1057.         given name does not have an extension, and the given name is
  1058.         not found.  Similarly, the extension ".ENF" is tried. Please
  1059.         refer to Chapter XVIII, page 68.
  1060.  
  1061.     F3    Set current drive:path:  You may change the default disk
  1062.         drive and path from within COM-AND using this feature.
  1063.         The current drive:path affect uploaded files and file name
  1064.         searches (Alt-F), when no qualification is provided.
  1065.  
  1066.         NOTE: The F3 setting is retained even after COM-AND is
  1067.         terminated.
  1068.  
  1069.     F4    Set default drive:path for downloads:  All download file
  1070.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, CIS-B, ASCII,
  1071.         logging, and RLE) use this setting if the target file name
  1072.         supplied (one way or another) does not specify the drive
  1073.         and/or path.
  1074.  
  1075.         NOTE: The F4 setting is retained for the next time COM-AND
  1076.         is used.  Each change to F4 is saved!
  1077.  
  1078.     F5    ASCII upload:  Files may be transmitted to a system using a
  1079.         simple 'send' (as if they were entered by hand).  Transfer
  1080.         may occur with or without a host prompt (some special char-
  1081.         acter issued for every line).  Transfer may be timed (paced)
  1082.         in either case.  Line feeds may or may not be suppressed.
  1083.         Tabs may or may not be expanded as blanks, as you wish.
  1084.  
  1085.         This function is also available through PgUp (page 51).
  1086.  
  1087.     F6    ASCII download:  This differs from transcripting (F7,
  1088.         below) in that no extra characters are added to the file
  1089.         (line feeds after received carriage returns, or an end-of-
  1090.         file byte).  Transcripting is intended to result in an ASCII
  1091.         edit file, or a printed log.  ASCII download may be used to
  1092.         save sessions (or parts of sessions) exactly as received.
  1093.  
  1094.         This function is also available through PgDn (page 53).
  1095.  
  1096.  
  1097.  
  1098.  
  1099. Version 2.9: 921203
  1100.  
  1101. COM-AND: IBM PC Communications and Accessories                 Page  16
  1102.  
  1103.  
  1104. VII.    Commands: CRT mode only (continued)
  1105.  
  1106.  
  1107.     F7    Logging or transcripting:  Log received text to a disk file
  1108.         or device.  You specify the file to use.  If not empty, new
  1109.         logging is appended to the end of existing data.
  1110.  
  1111.         You are asked if the backscreen (the last text received) is
  1112.         to be saved.  Logging need not be started before an event
  1113.         you want to record.
  1114.  
  1115.         What is logged is not exactly what is displayed on the
  1116.         screen.  If hi-bit masking is turned on, characters are
  1117.         saved with the high bit turned off.  An ASCII end-of-file
  1118.         is added when the file is closed.
  1119.  
  1120.         Opening and closing the log marks the log with date and
  1121.         time.  Transcript marking may be turned off with the
  1122.         Alt-O window.  Log hold (below) does not mark the log.
  1123.  
  1124.     F8    Toggle display of typed characters (for use with half duplex
  1125.         connections, otherwise known as 'no echo').  The keyboard
  1126.         display takes over the last screen line.
  1127.  
  1128.     F9    Hold the log: no entry is made to the log from this point
  1129.         until hold is turned off (by pressing F9 again) or the
  1130.         log is closed.    The status line informs you of log hold.
  1131.  
  1132.     PgUp    Upload:  A menu of protocols for file transfer is displayed.
  1133.         One must be selected, and the upload then proceeds as below
  1134.         (under "File Transfer").  Please refer to Chapter XIII, page
  1135.         44.
  1136.  
  1137.     PgDn    Download: A menu protocols for file transfer is displayed.
  1138.         One must be selected, and the download then proceeds as
  1139.         below (under "File Transfer").  Please refer to Chapter
  1140.         XIII, page 44.
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. Version 2.9: 921203
  1155.  
  1156. COM-AND: IBM PC Communications and Accessories                 Page  17
  1157.  
  1158.  
  1159. VII.    Commands: CRT mode only (continued)
  1160.  
  1161.  
  1162.     Alt-A    Toggle split screen 'chat mode' on and off:  The screen is
  1163.         split in chat mode, one window for received text, and one
  1164.         for typed.  The size of the chat window is set through Alt-S
  1165.         Setup.    Some accessories also support Alt-A.
  1166.  
  1167.     Alt-B    Redisplay (backscreen):  You may review the backscreen
  1168.         buffer page by page.  Some accessories also support Alt-B.
  1169.  
  1170.     Alt-J    Set screen colors:  You may set foreground and background
  1171.         color values for the CRT screen, the status line, and menu
  1172.         windows.  Some accessories have their own Alt-J window.
  1173.  
  1174.     Alt-K    Set KERMIT parameters:    The values as supplied are suitable
  1175.         for most systems.  We do not recommend that you change
  1176.         these settings unless you fully understand their meaning.
  1177.  
  1178.     Alt-L    Toggle EGA(VGA)/CGA (43(50)/25 line) modes:  Some
  1179.         accessories have their own Alt-L.
  1180.  
  1181.     Alt-V    Emulation:  You may select terminal emulation, and enable/
  1182.         disable translation and/or remapping through Alt-V.  Note:
  1183.         both translate and remap require prepared data.
  1184.  
  1185.     Alt-W    Playback:  Display text from a file in the CRT screen area.
  1186.         This may be used to set screen colors using ANSI controls
  1187.         (overriding the screen colors set through Alt-J).
  1188.  
  1189.     Alt =    Menu mode:  Alt-Equal toggles the menu mode interactively
  1190.         (see chapter V, 'Menu Mode').
  1191.  
  1192.     Alt -    Alt-Minus toggles remote function key use (see Appendix S,
  1193.         'Doorways').
  1194.  
  1195.  
  1196.     ---------------------------------------------------------------
  1197.     Note also functions defined above under "Commands: both modes".
  1198.     ---------------------------------------------------------------
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209. Version 2.9: 921203
  1210.  
  1211. COM-AND: IBM PC Communications and Accessories                 Page  18
  1212.  
  1213.  
  1214. VIII.    Commands: Accessory only
  1215.  
  1216.  
  1217.     A discussion of accessory commands must properly be referred to the
  1218.     accessory document.  However, a few comments are in order here.
  1219.  
  1220.  
  1221.     Each accessory must have an Alt-P function similar to COM-AND's
  1222.     Alt-P Comm Parms Menu, to allow you to set default parameters.    The
  1223.     defaults have effect when the accessory is NOT run 'piggyback' ('/P'
  1224.     switch) through the DOS gateway of another communications program.
  1225.  
  1226.  
  1227.     Each accessory must have some kind of Alt-S setup window which
  1228.     defines accessory-specific flags and values.  In all accessories
  1229.     currently released, the accessory setup function is available through
  1230.     the 'Controls' pull-down.  When the accessory is loaded '/P', the
  1231.     Alt-S key is enabled to access the accessory setup as well.  [When
  1232.     loaded through COM-AND, an accessory's Alt-S calls up COM-AND's
  1233.     Setup window.]
  1234.  
  1235.  
  1236.     Each accessory integrated into COM-AND defines Alt-X as program
  1237.     termination:  not accessory termination, but process termination!
  1238.     Use Alt-X from an accessory to terminate the accessory AND the
  1239.     COM-AND program.  Alt-X from COM-AND terminates COM-AND and any
  1240.     loaded accessory.  The F1 key is used to switch between COM-AND and
  1241.     an accessory, and may be used to terminate the accessory without
  1242.     terminating COM-AND.
  1243.  
  1244.  
  1245.     As of version 2.6 of COM-AND, certain accessories permit COM-AND
  1246.     scripts to execute while the accessory is active.  This includes
  1247.     scripts executed automatically through Alt-D dialing.  Please refer
  1248.     to an accessory's documentation to determine the accessory supports
  1249.     scripts.
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264. Version 2.9: 921203
  1265.  
  1266. COM-AND: IBM PC Communications and Accessories                 Page  19
  1267.  
  1268.  
  1269. IX.    Dialing (Alt-D, Alt-R, and Alt-H)
  1270.  
  1271.  
  1272.     A. Dialing (Alt-D)
  1273.  
  1274.        . Dial from directory
  1275.  
  1276.          The dialing directory is invoked with Alt-D.  You dial the
  1277.          number in an entry by entering the entry number followed by
  1278.          <cr>.  The particular directory entry does not have to be
  1279.          visible.
  1280.  
  1281.          The entry number you type may be prefixed and/or suffixed with
  1282.          a long distance entry code (+,-,#,@).  A prefix is transmitted
  1283.          before the number dialed, and the suffix is transmitted after
  1284.          the dialed number.  Both prefix and suffix may be used, or one
  1285.          alone, or none.
  1286.  
  1287.          A fixed prefix string, which is transmitted with every call
  1288.          before any long distance prefix, may be specified in Alt-D.
  1289.          [For example, "9,," used for outdial through a PBX.]
  1290.  
  1291.          The modem dialing string specified through the Alt-S window is
  1292.          issued; the prefix for all calls (if specified) is issued; a
  1293.          long distance prefix (if used) is issued; the telephone number
  1294.          is issued; a long distance suffix (if used) is issued; and
  1295.          finally a dialing suffix string specified through the Alt-S
  1296.          screen is transmitted.
  1297.  
  1298.          Communications parameters are specified when the dialing direc-
  1299.          tory entry is created.  Each service requires certain settings
  1300.          for comprehensible communications.  However, one note:  COM-AND
  1301.          changes settings to 8 data bits, no parity and 1 stop bit when
  1302.          file transfer commences, if appropriate (KERMIT is the only
  1303.          exception).  When transfer completes, previous settings are
  1304.          reinstated.  You only need to know what the specific service
  1305.          requires for conversational mode.
  1306.  
  1307.        . Manual dialing (M)
  1308.  
  1309.          From the Alt-D dialing directory, you may invoke manual dialing
  1310.          with the command "M".  You are asked to enter a number to dial.
  1311.          Enter the telephone number to dial; it is prefixed with the
  1312.          modem dialing string (specified through the Alt-S window) and
  1313.          the fixed prefix for all calls, suffixed with the Alt-S dialing
  1314.          suffix, and issued.
  1315.  
  1316.  
  1317.  
  1318.  
  1319. Version 2.9: 921203
  1320.  
  1321. COM-AND: IBM PC Communications and Accessories                 Page  20
  1322.  
  1323.  
  1324. IX.    Dialing (continued)
  1325.  
  1326.  
  1327.        . Manual dialing (continued)
  1328.  
  1329.          Manually dialed numbers use the communications parameters in
  1330.          effect at the time the number is dialed.  The rule for comm
  1331.          parameters is:  The Comm Parms default (Alt-P) is overridden
  1332.          by run-time parameters; the setting specified in a dialing
  1333.          directory entry overrides both.
  1334.  
  1335.  
  1336.     B. Dialing directory maintenance (Alt-D)
  1337.  
  1338.        . Revise entry (R)
  1339.  
  1340.          A directory entry is revised with the "R" command.  You are
  1341.          prompted for an entry number (you may use the command "Rn" too,
  1342.          where "n" is the entry number).  Answer each prompt with the
  1343.          appropriate value.  You may cancel the change at any prompt
  1344.          with the ESC key.    When all the prompts are completed you are
  1345.          asked whether the change is to be saved to disk.  If you say
  1346.          no, the change is not available the next time you use COM-AND.
  1347.  
  1348.          NOTE: When you enter a telephone number to be dialed, there is
  1349.          space for 13 digits.  For example: 1-312-555-1212.  Normally
  1350.          you would not include the 1-xxx area code for your OWN area
  1351.          code.  You may, however, enter ALL numbers as long distance
  1352.          numbers, and set the 'Strip area code' ('S' subcommand, below)
  1353.          to your own area code.  COM-AND recognizes the 1-xxx and
  1354.          removes it if the 'xxx' matches the 'Strip area code' value.
  1355.  
  1356.          NOTE:  When you revise a dialing directory entry, you must
  1357.          specify a speed for the connection.  Many modems nowadays want
  1358.          the link between the computer and the modem to run at a single
  1359.          (high) speed.  The modem itself handles the connection speed
  1360.          (usually a lower speed).  You may select to override the Alt-D
  1361.          speed setting through Alt-O.  Although you must select a speed
  1362.          in Alt-D, if Alt-O overrides the speed, the current (default)
  1363.          speed is displayed in Alt-D for ALL entries, and the speed
  1364.          setting in Alt-D is not used.
  1365.  
  1366.          NOTE:  Also, you may select "Default" for the rate (speed) of
  1367.          an individual connection, and ignore the Alt-O override.  The
  1368.          default rate is the rate holding AT THE TIME the entry is used
  1369.          to dial.  The default is:    1) the last rate set by using Alt-D
  1370.          dialing, 2) the rate specified in the run command, or 3) the
  1371.          Alt-P default rate (in order of preference).
  1372.  
  1373.  
  1374. Version 2.9: 921203
  1375.  
  1376. COM-AND: IBM PC Communications and Accessories                 Page  21
  1377.  
  1378.  
  1379. IX.    Dialing (continued)
  1380.  
  1381.  
  1382.     B. Dialing directory maintenance (continued)
  1383.  
  1384.        . Delete entry (D)
  1385.  
  1386.          A directory entry is deleted with the "D" command on the Alt-D
  1387.          window.  You are prompted for the entry number (you may use
  1388.          the command "Dn" too, where "n" is the entry number).  The
  1389.          chosen entry is displayed.  If you answer "y" to the query, the
  1390.          entry is deleted in memory and on disk.
  1391.  
  1392.        . Revise Long distance directory (L)
  1393.  
  1394.          The Long distance directory is a directory within a directory.
  1395.          Four entries may be created (labelled:  "+", "-", "#", and "@")
  1396.          and used to prefix or suffix a dialing command (or to suffix).
  1397.  
  1398.          The Long distance entry is free form.  Any string your modem
  1399.          accepts may be entered.  The Long distance directory is pulled
  1400.          up from the Alt-D window with the command "L".  An entry may
  1401.          be modified by selecting its label ("+","-","#","@").
  1402.  
  1403.        . Print directory (P)
  1404.  
  1405.          The dialing directory (current in memory) may be printed from
  1406.          the Alt-D window with the subcommand "P".  Printer output is
  1407.          directed to the standard output device (PRN).  You are prompted
  1408.          to ready the printer.  Press any key except ESC to begin
  1409.          printing.    ESC at this prompt cancels the print job.
  1410.  
  1411.          The printed directory is two pages, each of 50 lines (plus
  1412.          heading).    Top-of-forms (decimal 12) are issued at the start of
  1413.          each page.  Column headings are similar to the Alt-D headings.
  1414.  
  1415.        . Load file (F)
  1416.  
  1417.          A new dialing directory may be loaded with the 'F' command at
  1418.          any time.    Note: when you change the directory file, the change
  1419.          also is reflected in the Alt-S window (but isn't saved for the
  1420.          next time unless you save the values in Alt-S).
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429. Version 2.9: 921203
  1430.  
  1431. COM-AND: IBM PC Communications and Accessories                 Page  22
  1432.  
  1433.  
  1434. IX.    Dialing (continued)
  1435.  
  1436.  
  1437.     B. Dialing directory maintenance (continued)
  1438.  
  1439.        . All call prefix (A)
  1440.  
  1441.          You may specify a string to precede all numbers with the 'A'
  1442.          subcommand.  The string may contain any characters your modem
  1443.          will accept.  [This is used, for example, for the "9,," outdial
  1444.          command common to many PBXes.]
  1445.  
  1446.        . Strip area code (S)
  1447.  
  1448.          You may specify your own area code to be stripped from the
  1449.          number dialed with the 'S' subcommand.  When a dialing direc-
  1450.          tory number begins with the digit "1" followed by that area
  1451.          code, COM-AND removes it from the number being dialed.  This
  1452.          feature makes it travelling and communicating more convenient.
  1453.  
  1454.        . Timeout delay (T)
  1455.  
  1456.          When Alt-D dials a number, and it fails to connect after a
  1457.          given period of time, COM-AND performs a hangup, and then
  1458.          attempts a redial.  You may specify the the timeout with the
  1459.          'T' subcommand.  Note that this value is reflected in Alt-S
  1460.          (but is not saved unless you save Alt-S).
  1461.  
  1462.  
  1463.     C. Redial (Alt-R)
  1464.  
  1465.        The last dialing directory entry used to dial (or manual number
  1466.        as entered) may be recalled and redialed.  The redial sequence
  1467.        cycles.  It waits for the "Connect string" (as specified through
  1468.        the Alt-S window) for a fixed period, then resets the modem using
  1469.        the "Escape string" and tries again.  Time spent redialing is
  1470.        updated every time a redial is attempted.
  1471.  
  1472.        You may force a new attempt with the space-bar.  You may change
  1473.        the delay interval by pressing the END key:    you are prompted
  1474.        for a new value (in seconds).
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484. Version 2.9: 921203
  1485.  
  1486. COM-AND: IBM PC Communications and Accessories                 Page  23
  1487.  
  1488.  
  1489. IX.    Dialing (continued)
  1490.  
  1491.  
  1492.     D. Hangup (Alt-H)
  1493.  
  1494.        The connection (if any) may be interrupted and the "Hangup string"
  1495.        (specified through the Alt-S window) issued (or DTR dropped,
  1496.        according to your Alt-O preference), using the Alt-H command.
  1497.  
  1498.        One note about Alt-H hangup:  According to your modem and your
  1499.        setup of COM-AND, when you hangup, the connection may not be
  1500.        properly broken.  A second Alt-H may or may not finish the job.
  1501.        Modems configured to follow DTR always respond to dropping DTR.
  1502.  
  1503.        Through Alt-O, you may opt to re-initialize the modem after
  1504.        hangup. The re-initialization takes some time, but ensures the
  1505.        modem is left in a uniform state.
  1506.  
  1507.  
  1508.     E. A note on modem speed
  1509.  
  1510.        Some new modems connect to the PC at one speed and connect to the
  1511.        host at a second speed.  If you use a modem of this type, you
  1512.        have several alternatives:
  1513.  
  1514.        .  set the speed in the dialing directory to the speed used
  1515.           modem-to-PC.  Usually this is a higher rate.  Leave the Alt-O
  1516.           "Override Alt-D speed" OFF.
  1517.  
  1518.        .  set the speed in Alt-P to the speed used modem-to-PC.  Set the
  1519.           Alt-O "Override Alt-D speed" ON.
  1520.  
  1521.        Please note that, at this time, COM-AND does not automatically
  1522.        detect and change speeds during a connection.  Several included
  1523.        scripts demonstrate this 'autobauding' (see BBS, HOST, CONNECT
  1524.        and PC-2-PC), but COM-AND does not offer it in manual usage.
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539. Version 2.9: 921203
  1540.  
  1541. COM-AND: IBM PC Communications and Accessories                 Page  24
  1542.  
  1543.  
  1544. X.    Macros (Alt-M and Alt-0/9)
  1545.  
  1546.  
  1547.     A. Revise entry (0-9)
  1548.  
  1549.        COM-AND is distributed with an empty Macro directory.  Entries are
  1550.        displayed and modified through the Alt-M window.  A macro entry
  1551.        is any string of text which may be transmitted on-line with one
  1552.        keystroke.  Carriage returns may be embedded in the string (as
  1553.        exclamation points "!" ...  Exclamation points themselves must be
  1554.        entered doubly:  "!!").  Control characters may be embedded in the
  1555.        string (as caret/letter "^x" ...  ^a = 1, ^b = 2, and so on...
  1556.        Carets themselves, too, must be doubled:  "^^").  The grave (`)
  1557.        forces the next character (may be used in place of doubling).
  1558.  
  1559.        The macro definition window is invoked with Alt-M.  Select the
  1560.        entry number to revise by entering its number (0...9).  You are
  1561.        prompted for the new entry.
  1562.  
  1563.        One interesting note:  COM-AND keystrokes may be programmed into
  1564.        macros themselves.  For example, the macro:
  1565.  
  1566.         "^@<SOURCE!"
  1567.  
  1568.        actually invokes the F2 (execute script) window, and passes the
  1569.        name "SOURCE" with a terminating carriage return to the F2 window.
  1570.        The ^@ indicates the following character is interpreted as an
  1571.        'extended keystroke', i.e. not-ASCII.  Extended characters are:
  1572.  
  1573.        Macro seq    Key    Macro seq    Key    Macro seq    Key
  1574.        ---------    ---    ---------  -----    ---------  -----
  1575.        ^@;         F1    ^@^^       Alt-A    ^@1       Alt-N
  1576.        ^@<         F2    ^@1       Alt-B    ^@^X       Alt-O
  1577.        ^@=         F3    ^@.       Alt-C    ^@^Y       Alt-P
  1578.        ^@>         F4    ^@ (space) Alt-D    ^@^P       Alt-Q
  1579.        ^@?         F5    ^@^R       Alt-E    ^@^S       Alt-R
  1580.        ^@@         F6    ^@!       Alt-F    ^@^_       Alt-S
  1581.        ^@A         F7    ^@"        Alt-G        ^@^T       Alt-T
  1582.        ^@B         F8    ^@#       Alt-H    ^@^V       Alt-U
  1583.        ^@C         F9    ^@^W       Alt-I    ^@/       Alt-V
  1584.        ^@D        F10    ^@$       Alt-J    ^@^Q       Alt-W
  1585.        ^@I           PgUp    ^@%       Alt-K    ^@-       Alt-X
  1586.        ^@Q           PgDn    ^@&       Alt-L    ^@^U       Alt-Y
  1587.        ^@u        Ctl-End    ^@2       Alt-M    ^@,       Alt-Z
  1588.  
  1589.        Note, too, Alt-A (requiring "^^") is unprogrammable.  It may
  1590.        be entered as decimal 30 (use Alt and numeric pad keys, below).
  1591.  
  1592.  
  1593.  
  1594. Version 2.9: 921203
  1595.  
  1596. COM-AND: IBM PC Communications and Accessories                 Page  25
  1597.  
  1598.  
  1599. X.    Macros (continued)
  1600.  
  1601.  
  1602.     A. Revise entry (continued)
  1603.  
  1604.        In the above example, the F2 key was represented by "^@<".  When
  1605.        the F2 key is pressed a window is opened and a search for all
  1606.        files *.CMD and *.ENF takes place.  In simpler terms, pressing the
  1607.        F2 key takes TIME.  COM-AND defines the ASCII value 255 as a short
  1608.        cut to execute a script or script statement.  The macro:
  1609.  
  1610.         " SOURCE!"
  1611.  
  1612.        where the first character (here displayed as blank) is ASCII 255,
  1613.        performs the same sequence... without opening the F2 window.
  1614.  
  1615.  
  1616.        DOS provides an obscure method for entering characters by their
  1617.        ASCII value.  To enter the ASCII value 255:    hold down the
  1618.        Alt-key, type '2' on the numeric pad, then type '5' on the numeric
  1619.        pad, then type '5' again on the numeric pad, and finally, release
  1620.        the Alt-key.  The Alt-key must be held for the duration of the
  1621.        2-5-5.  The numeric pad must be used.
  1622.  
  1623.  
  1624.        If the first character following the 255 is ".", subsequent text
  1625.        is executed as a single script command.  Otherwise, the text is
  1626.        interpreted as a script file name to execute.  In this way,
  1627.        single script statements or entire script files may be tied to
  1628.        a macro key (Alt-0 through Alt-9).
  1629.  
  1630.  
  1631.     B. Load a new file (Alt-M subcommand F)
  1632.  
  1633.        When COM-AND is loaded, the Macro Definition file as named through
  1634.        the Alt-S setup menu is loaded.  You may load a different file of
  1635.        macros later, using the (F)ile subcommand of Alt-M.    Note: when
  1636.        you change the macro definition file, the change is reflected
  1637.        in the Alt-S window (but isn't saved for the next time unless you
  1638.        save the values in Alt-S).
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649. Version 2.9: 921203
  1650.  
  1651. COM-AND: IBM PC Communications and Accessories                 Page  26
  1652.  
  1653.  
  1654. X.    Macros (continued)
  1655.  
  1656.  
  1657.     C. Clear entries (Alt-M subcommand C)
  1658.  
  1659.        You may clear all macro definitions in COM-AND's memory (but not
  1660.        in the current file) with the (C)lear command.  To clear the file,
  1661.        make blank entries (blank, <cr>) for 0-9.
  1662.  
  1663.  
  1664.     D. Execute entry (Alt-0 through Alt-9)
  1665.  
  1666.        Macros are issued with the commands Alt-0 through Alt-9, outside
  1667.        of Alt-M.  The entry indicated by the number is transmitted.
  1668.        What happens after is strictly up to what you've entered, the
  1669.        service you're using, and the people around you.
  1670.  
  1671.        As discussed above, the text of a macro may or may not be trans-
  1672.        mitted.  If the macro is plain text, it is transmitted.  If the
  1673.        macro contains commands for COM-AND to execute, it is executed.
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704. Version 2.9: 921203
  1705.  
  1706. COM-AND: IBM PC Communications and Accessories                 Page  27
  1707.  
  1708.  
  1709. XI.    Encrypt/Decrypt (Alt-N)
  1710.  
  1711.  
  1712.     Beginning with version 2.2, COM-AND performs file encryption and
  1713.     decryption.  COM-AND encrypted script files are automatically
  1714.     recognized and decrypted in memory.  Dialing directory, Macro
  1715.     definition and Accessory definition files are not automatically
  1716.     decrypted, but might be decrypted and reloaded through a script.
  1717.  
  1718.  
  1719.     COM-AND implements two encryption methods:
  1720.  
  1721.     o a simple encryption method;  this method is appropriate for
  1722.       script files which you plan to keep on your own machine, and
  1723.       only wish to protect from casual perusal (e.g. passwords).
  1724.  
  1725.     o a one-way encryption method;    this method is only for scripts.
  1726.       No password is required for this encryption.    When a script
  1727.       file encrypted this way is encountered, no password prompt is
  1728.       issued to the screen.  COM-AND does not decrypt one-way encrypted
  1729.       files from Alt-N.
  1730.  
  1731.  
  1732.     'Simple' encryption uses a simple XOR algorithm against the data.
  1733.     It is not considered very secure, but appropriate to protect against
  1734.     casual perusal.  One-way encryption uses a similar algorithm, but
  1735.     generates a password that cannot be entered by hand (through Alt-N).
  1736.  
  1737.  
  1738.     Encrypted files are slightly larger than the original file.  Infor-
  1739.     mation as to true file size, file date/time and CRC checking is added
  1740.     to the file.  When the file is decrypted, the method used to encrypt
  1741.     is recognized automatically, and the file is restored to its original
  1742.     size, date and time.  The decrypted file is deleted immediately if
  1743.     a CRC check fails.
  1744.  
  1745.  
  1746.     When you encrypt or decrypt a file (or when the script processor
  1747.     recognizes an encrypted file with the exception of one-way encryp-
  1748.     tion) you are asked for a password.  COM-AND accepts up to 32 char-
  1749.     acters for the password, and uses them to derive a 'key' for the
  1750.     file.  The password you supply is not the decrypting key.  For the
  1751.     maximum protection, it is recommended you use the full 32 characters
  1752.     for a password.
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759. Version 2.9: 921203
  1760.  
  1761. COM-AND: IBM PC Communications and Accessories                 Page  28
  1762.  
  1763.  
  1764. XI.    Encrypt/Decrypt (continued)
  1765.  
  1766.  
  1767.     ---------------------------------------------------------------------
  1768.     However, you must be able (somehow) to remember the password.  Should
  1769.     you lose the password, or if the encrypted file is modified in any
  1770.     manner, there is very little chance of recovering the data.  Neither
  1771.     CABER Software nor the author will be liable for any damages or lost
  1772.     revenues incurred through the use of this function beyond the
  1773.     registration price paid for COM-AND.
  1774.     ---------------------------------------------------------------------
  1775.  
  1776.  
  1777.     Encryption and decryption must be performed from one (input) file to
  1778.     another different (output) file.  Do not attempt to encrypt or
  1779.     decrypt a file over itself.  If there is insufficient space on the
  1780.     target disk for the file, you are warned, and allowed to select a
  1781.     new target disk or diskette or to abort.
  1782.  
  1783.  
  1784.     Alt-N invokes a menu allowing selection of Encryption or Decryption.
  1785.     You are prompted for each required parameter.  When the process
  1786.     begins, a display similar to file transfers provides an estimate for
  1787.     the time required and a measure of its performance.
  1788.  
  1789.  
  1790.     The COM-AND script processor searches for the extension ".ENF" as
  1791.     well as ".CMD".  The script processor searches first for the given
  1792.     file name.  If no match is found it then searches for the same file
  1793.     name with the extension ".CMD".  If no match is found the second
  1794.     time, it searches for the same file name with the extension ".ENF".
  1795.     [If the name is unqualified with drive:subdirectory and if there is
  1796.     a COM-AND= environment variable, another three searches are done on
  1797.     the drive:subdirectory indicated by the COM-AND= variable.]
  1798.  
  1799.  
  1800.     Thus, if you want to encrypt a script file with no extension or with
  1801.     the extension ".CMD", you must use one of two strategies:
  1802.  
  1803.     o  encrypt the file using a DIFFERENT name... and use the
  1804.        different name when invoking the script (F2)... or
  1805.  
  1806.     o  encrypt the file to the same name with the extension ".ENF"
  1807.        and then delete the original (after backup of course).
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814. Version 2.9: 921203
  1815.  
  1816. COM-AND: IBM PC Communications and Accessories                 Page  29
  1817.  
  1818.  
  1819. XI.    Encrypt/Decrypt (continued)
  1820.  
  1821.  
  1822.     We suggest you use either the 'simple' method or 'one-way' method
  1823.     to encode script files.  Script files encoded with these methods
  1824.     are decrypted and executed transparently...  the differences is that
  1825.     'one-way' encrypted scripts do not pop-up a prompt for a password.
  1826.     ---------------------------------------------------------------------
  1827.  
  1828.  
  1829.     Previous versions of COM-AND included Federal Data Encryption
  1830.     Standard (DES) compliant encryption.  In 1992, CABER Software was
  1831.     informed that it is not legal to ship software out of the U.S.
  1832.     containing DES encryption.  [Aside: Other countries are permitted to
  1833.     sell DES software HERE... and do.  U.S. companies, however, may not
  1834.     sell this technology abroad!]  In version 2.9, DES encryption has
  1835.     been removed from COM-AND.
  1836.  
  1837.  
  1838.     The Federal Data Encryption algorithm encodes data in 64-bit
  1839.     'chunks'; each bit of each byte goes through many transformations,
  1840.     and may end up anywhere in the 64-bit area.  The simpler methods
  1841.     also encode in chunks, but do not 'smear bits'.
  1842.  
  1843.  
  1844.     The full Federal Data Encryption Standard (DES) algorithm in
  1845.     software is not fast but may be considered fairly secure.  The DES
  1846.     is appropriate for files you wish to exchange publicly, but choose
  1847.     to secure.  However, it is SLOW.
  1848.  
  1849.  
  1850.     It is not available in this version of COM-AND.
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869. Version 2.9: 921203
  1870.  
  1871. COM-AND: IBM PC Communications and Accessories                 Page  30
  1872.  
  1873.  
  1874. XII.    Program Configuration (Alt-S, Alt-P, Alt-O, and Alt-J)
  1875.  
  1876.  
  1877.     A. Setup Screen (Alt-S)
  1878.  
  1879.        1. Modem control
  1880.  
  1881.           . Modem initialization string
  1882.  
  1883.         The modem initialization string is issued when COM-AND is
  1884.         first loaded.  It is not issued when the port is changed
  1885.         during execution.  If blank, it is ignored.  Carriage
  1886.         returns and control characters are specified as with macros.
  1887.         Refer to Appendix M (Modem Configuration) for examples.
  1888.  
  1889.           . Modem dialing prefix
  1890.  
  1891.         The Modem dialing prefix commands the modem to begin a
  1892.         dialing sequence.  It is followed by a number from the
  1893.         dialing directory (and long distance string, if specified).
  1894.  
  1895.           . Modem dialing suffix
  1896.  
  1897.         The Modem dialing string terminates each dialing command.
  1898.         For Hayes type modems it should be a "!" (translated by
  1899.         COM-AND to a <cr>).  It may be any string appropriate to
  1900.         your modem.  Carriage returns and control characters are
  1901.         specified as with macros.
  1902.  
  1903.           . Hangup string
  1904.  
  1905.         The hangup string is issued (after a modem escape) when you
  1906.         press Alt-H, if "drop DTR" is not set in Alt-O.  Carriage
  1907.         returns and control characters are specified as with macros.
  1908.         Delays of 1/2 second each may be specified with a tilde (~)
  1909.         (see "modem delay char" below).
  1910.  
  1911.           . Escape string
  1912.  
  1913.         The modem escape is issued before the hangup string (Alt-H),
  1914.         and before each dialing attempt.  Delays of 1/2 second each
  1915.         are specified with a tilde (~).  Carriage returns and
  1916.         control characters are specified as with macros.
  1917.  
  1918.           . Connect string
  1919.  
  1920.         The connect string is used by the Alt-D dial and Alt-R redial
  1921.         commands to determine when connection has been made.
  1922.  
  1923.  
  1924. Version 2.9: 921203
  1925.  
  1926. COM-AND: IBM PC Communications and Accessories                 Page  31
  1927.  
  1928.  
  1929. XII.    Program Configuration (continued)
  1930.  
  1931.  
  1932.     A. Setup Screen (continued)
  1933.  
  1934.        2. Files
  1935.  
  1936.           All files specified here are searched under the current
  1937.           drive:subdirectory, and under the drive:subdirectory
  1938.           indicated through the COM-AND= environment variable, unless
  1939.           the name given is explicitly qualified.
  1940.  
  1941.           . Call-log file
  1942.  
  1943.         The call-log file name determines the file to open for
  1944.         call-logging (if call-logging is enabled, see below, Alt-O
  1945.         Options, and Chapter XIV).
  1946.  
  1947.           . Dialing directory file
  1948.  
  1949.         The dialing directory file is used to initialize the
  1950.         program's dialing directory.  The current dialing directory
  1951.         may be changed at any time from within COM-AND.
  1952.  
  1953.           . Macro Directory file
  1954.  
  1955.         The macro directory file is used to initialize the
  1956.         program's macro definitions.  You may change the current
  1957.         macro definition at any time from within COM-AND.
  1958.  
  1959.          .    Accessory directory file
  1960.  
  1961.         The COM-AND accessory function F1 requires a file to contain
  1962.         definitions for accessories.  You may have several files of
  1963.         definitions and change at any time from within COM-AND.
  1964.  
  1965.           . RLE temporary file
  1966.  
  1967.         COM-AND recognizes RLE graphics images when they are encoun-
  1968.         tered in the received stream, and buffer the image to disk.
  1969.         This file name specifies the temporary file name.
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979. Version 2.9: 921203
  1980.  
  1981. COM-AND: IBM PC Communications and Accessories                 Page  32
  1982.  
  1983.  
  1984. XII.    Program Configuration (continued)
  1985.  
  1986.  
  1987.     A. Setup Screen (continued)
  1988.  
  1989.        3. Timings and Values
  1990.  
  1991.           . Backscreen buffer size
  1992.  
  1993.         Up to 64K for the backscreen buffer may be selected (or turn
  1994.         it off altogether by setting it to 0K).  This buffer is used
  1995.         by the Alt-B redisplay, and by the F7 transcript command.
  1996.  
  1997.           . Break delay
  1998.  
  1999.         COM-AND issues a true break through the Ctl-End key.  The
  2000.         duration of the break is controlled here.  "Break delay"
  2001.         specifies the number of milliseconds the comm line is held.
  2002.  
  2003.           . Alarm duration
  2004.  
  2005.         The alarm duration value specifies the number of seconds an
  2006.         alarm tune sounds when a function is terminated.  Set this
  2007.         to zero to inhibit the special termination alarm.
  2008.  
  2009.           . Modem char delay
  2010.  
  2011.         The modem char delay gives the number of milliseconds COM-
  2012.         AND delays after each character of a modem control sequence
  2013.         (e.g.  dialing, hangup, initialization).  Certain modems
  2014.         require their control sequences be enunciated slowly.
  2015.  
  2016.           . Reconnect delay
  2017.  
  2018.         The interval between Alt-R redial (and scripted dialing)
  2019.         attempts is specified here.  45 seconds is recommended for
  2020.         long distance dialing.    30 seconds is usual for local calls.
  2021.  
  2022.           . Chat Window
  2023.  
  2024.         The size of the lower window in chat mode (where what you
  2025.         type appears) may be changed.  The size of the chat window
  2026.         is limited to between 2 and 10 lines.
  2027.  
  2028.           . Bell tone
  2029.  
  2030.         COM-AND implements its own bell sound.    You may set the tone
  2031.         to any pleasant frequency (in Hz).
  2032.  
  2033.  
  2034. Version 2.9: 921203
  2035.  
  2036. COM-AND: IBM PC Communications and Accessories                 Page  33
  2037.  
  2038.  
  2039. XII.    Program Configuration (continued)
  2040.  
  2041.  
  2042.     A. Setup Screen (continued)
  2043.  
  2044.        3. Timings and Values (continued)
  2045.  
  2046.           . Mouse vertical sensitivity
  2047.  
  2048.         The vertical sensitivity of the mouse may be set here.
  2049.         The higher the value used, the less sensitive the mouse.
  2050.         The most sensitive value is 0.
  2051.  
  2052.           . Mouse horizontal sensitivity
  2053.  
  2054.         The horizontal sensitivity of the mouse may be set here.
  2055.         The higher the value used, the less sensitive the mouse.
  2056.         The most sensitive value is 0.
  2057.  
  2058.           . Mouse double click interval
  2059.  
  2060.         The double click interval of the mouse may be set here.
  2061.         When a mouse button is pressed twice within this interval a
  2062.         different action is taken than when it is only pressed once.
  2063.  
  2064.           . Modem delay character
  2065.  
  2066.         The modem delay character defaults to a tilde (ASCII 126).
  2067.         It represents a 1/2 second delay in strings sent to the
  2068.         modem (above) and strings sent with the script command
  2069.         TRANSMIT.  It may be redefined here.
  2070.  
  2071.           . Xfer Screen Update Interval
  2072.  
  2073.         At 9600 bps and above, the time taken to paint the status
  2074.         screen becomes a significant percentage of the overall time
  2075.         required for a file transfer.  Setting the screen update
  2076.         interval to '5' has a visible impact on performance, even at
  2077.         2400 bps.
  2078.  
  2079.  
  2080.        4. Save
  2081.  
  2082.           You may change values for one execution of COM-AND, or you
  2083.           may change them for all subsequent executions of COM-AND.  If
  2084.           you save values, the values you've saved are set the next time
  2085.           you use COM-AND.
  2086.  
  2087.  
  2088.  
  2089. Version 2.9: 921203
  2090.  
  2091. COM-AND: IBM PC Communications and Accessories                 Page  34
  2092.  
  2093.  
  2094. XII.    Program Configuration (continued)
  2095.  
  2096.  
  2097.     B. Communications Parameters (Alt-P)
  2098.  
  2099.        Do not change the current setting after you've connected to a ser-
  2100.        vice.  XMODEM, YMODEM, ZMODEM, and CIS-B transfers can change (and
  2101.        do change) to no parity (if necessary), but you shouldn't.
  2102.  
  2103.        1. Port speed (bps)
  2104.  
  2105.           Rate is specified through the first selections of the Alt-P
  2106.           window.  Other parameters (parity, data bits, and stop bits)
  2107.           may be set individually or in combination (below).
  2108.  
  2109.        2. E,7,1 and N,8,1
  2110.  
  2111.           For convenience, the combinations Even parity/7 data bits/1
  2112.           stop bit, and No parity/8 data bits/1 stop bit are provided
  2113.           after the port speed selections.
  2114.  
  2115.        3. Parity, Data bits and Stop bits
  2116.  
  2117.           Individual settings for parity, number of data bits and number
  2118.           of stop bits comprise the next items of this menu.  You also
  2119.           set these values when you create a dialing directory entry.
  2120.  
  2121.        4. COM ports
  2122.  
  2123.           The last items on this menu are the candidates for COM ports.
  2124.           Select the appropriate port for your modem.  This item is
  2125.           usually selected once, and then left alone.
  2126.  
  2127.           NOTE:  If your computer is equipped with fewer than four serial
  2128.           ports, an attempt to configure a missing port results in the
  2129.           port being shown set at 115k bps.  When a board is added with
  2130.           the additional port (e.g.  an internal modem set to work as
  2131.           COM3 or COM4), COM-AND will recognize it.
  2132.  
  2133.        -----------------------------------------------------------------
  2134.        Note:  All parameters may be set through the command parameters.
  2135.        These parameters override the Alt-P default settings.  Example:
  2136.  
  2137.           "d>" COM-AND COM3 1200 DATA8 STOP1 NONE
  2138.  
  2139.        Refer to Appendix A for the list of run-command parameters.
  2140.        -----------------------------------------------------------------
  2141.  
  2142.  
  2143.  
  2144. Version 2.9: 921203
  2145.  
  2146. COM-AND: IBM PC Communications and Accessories                 Page  35
  2147.  
  2148.  
  2149. XII.    Program Configuration (continued)
  2150.  
  2151.  
  2152.     B. Communications Parameters (continued)
  2153.  
  2154.        5. Save
  2155.  
  2156.           Current settings for the next execution of COM-AND are saved
  2157.           through the "Save" selection.  Settings are saved to disk.
  2158.  
  2159.        6. Set Base/IRQ
  2160.  
  2161.           COM-AND defaults the four supported comm ports to the values:
  2162.  
  2163.           COM1:  base address: 0x3f8, interrupt request # 4
  2164.           COM2:  base address: 0x2f8, interrupt request # 3
  2165.           COM3:  base address: 0x3e8, interrupt request # 4
  2166.           COM4:  base address: 0x2e8, interrupt request # 3
  2167.  
  2168.           These may be changed through a submenu of the Alt-P menu.
  2169.           Select 'Set Base/IRQ', and a submenu is opened.  Current
  2170.           values are displayed.  Select a port and you are prompted
  2171.           for new values.
  2172.  
  2173.           Each port's base address is limited to the values 0-1023 (or
  2174.           0 through 0x3ff).  Each port's interrupt request number is
  2175.           limited to the values 0-7.
  2176.  
  2177.           The default values are appropriate for most applications.
  2178.           Most people never need to change these settings.    However,
  2179.           should you need to do so, the capability is available.
  2180.  
  2181.           DO NOT CHANGE these assignments unless you are sure you have
  2182.           need to do so, and have the correct values at hand.  If you
  2183.           do not save the changes, COM-AND reverts to the defaults the
  2184.           next time it is loaded (after Ctrl-Alt-Delete, for example!).
  2185.  
  2186.           If COM-AND is directed to use a non existent port base
  2187.           address, the result may range from:  nothing happening what-
  2188.           soever, to complete machine lockup (if there IS in fact a
  2189.           device at that address able to respond to interrupt requests).
  2190.           It is recommended you try new settings before saving them.
  2191.  
  2192.           The meaning of the 'names' COM1, COM2, COM3, and COM4, as far
  2193.           as COM-AND is concerned, is determined simply by these base
  2194.           address and IRQ assignments.
  2195.  
  2196.  
  2197.  
  2198.  
  2199. Version 2.9: 921203
  2200.  
  2201. COM-AND: IBM PC Communications and Accessories                 Page  36
  2202.  
  2203.  
  2204. XII.    Program Configuration (continued)
  2205.  
  2206.  
  2207.     C. Options (Alt-O)
  2208.  
  2209.        1. Settings otherwise available
  2210.  
  2211.           . Echo  (also Alt-E)
  2212.  
  2213.         Some services turn around what you type for you to see,
  2214.         ("full duplex" or echoplex), and some don't ("half duplex").
  2215.         You may force COM-AND to display what you enter in the CRT
  2216.         window by toggling echo.  Setting echo on here turns echo
  2217.         on immediately.  Saving the setting causes echo to be turned
  2218.         on the next time you run COM-AND.  You may toggle echo
  2219.         dynamically with Alt-E.
  2220.  
  2221.           . Parity mask (also Alt-Z)
  2222.  
  2223.         You may mask parity from received text by setting the parity
  2224.         mask on permanently here.  I've found this useful; mandatory
  2225.         when I've needed it.  Parity masking is toggled dynamically
  2226.         with Alt-Z.
  2227.  
  2228.           . Keyboard display  (also F8)
  2229.  
  2230.         Some talk systems are more friendly when what you type is
  2231.         not mixed in with what you receive.  Turning system echo off
  2232.         (if the system echoes key-entry) is accomplished in a number
  2233.         of ways (Note: this is different from Alt-E above), each
  2234.         unique to the particular system.
  2235.  
  2236.         However, all of a sudden there is a new problem: you don't
  2237.         see what you're typing!  Keyboard display in COM-AND is one
  2238.         attempt to solve this problem.    What you type is displayed
  2239.         on the status line when keyboard display is enabled.  You
  2240.         may enable it on permanently through this option.  Keyboard
  2241.         display may be toggled dynamically with F8.
  2242.  
  2243.           . Chat mode (also Alt-A)
  2244.  
  2245.         Chat mode is another mechanism to allow you to see what
  2246.         you've typed when echo has been turned off.  Instead of just
  2247.         one line of keyboard display, chat mode allows you to see
  2248.         the last few (up to 10) lines you have typed.  Chat mode is
  2249.         toggled dynamically with Alt-A.
  2250.  
  2251.  
  2252.  
  2253.  
  2254. Version 2.9: 921203
  2255.  
  2256. COM-AND: IBM PC Communications and Accessories                 Page  37
  2257.  
  2258.  
  2259. XII.    Program Configuration (continued)
  2260.  
  2261.  
  2262.     C. Options (Alt-O) (continued)
  2263.  
  2264.        1. Settings otherwise available (continued)
  2265.  
  2266.           . Blank line suppression (also Alt-G)
  2267.  
  2268.         You may enable blank line suppression on when COM-AND is
  2269.         loaded, through this selection.  Blank line suppression
  2270.         may be dynamically toggled with Alt-G.
  2271.  
  2272.           . In/Out Translate (also Alt-V)
  2273.  
  2274.         You may turn on in/out character translation on when COM-AND
  2275.         is loaded, through this option.  Note: the file COM-AND.XLT
  2276.         must be prepared prior to the use of this function.  This
  2277.         file may be prepared using the script XLATE.CMD.
  2278.  
  2279.           . Remapping (also Alt-V)
  2280.  
  2281.         You may turn on keyboard remapping on when COM-AND is loaded,
  2282.         through this option.  Note: the file COM-AND.RMP must be
  2283.         prepared prior to the use of this function.  Please refer to
  2284.         to the script REMAP.CMD and its documentation REMAP.DOC.
  2285.  
  2286.  
  2287.        2. Settings available only through Alt-O
  2288.  
  2289.           . Nondestructive Backspace
  2290.  
  2291.         You may toggle a destructive/nondestructive backspace func-
  2292.         tion through this option.  Nondestructive backspaces are not
  2293.         required by many systems, but now and then it comes up.
  2294.  
  2295.           . Backspace sent as delete
  2296.  
  2297.         You may toggle the character transmitted as a backspace func-
  2298.         tion through this option.  Either backspace (decimal 8), or
  2299.         delete (decimal 127, a.k.a. rubout) may be transmitted.
  2300.  
  2301.           . CR -> CRLF received
  2302.  
  2303.         You may toggle a CR/CRLF on received CR function through this
  2304.         option.  Most systems generate a CR and a LF to terminate a
  2305.         line, but a few only generate a CR.
  2306.  
  2307.  
  2308.  
  2309. Version 2.9: 921203
  2310.  
  2311. COM-AND: IBM PC Communications and Accessories                 Page  38
  2312.  
  2313.  
  2314. XII.    Program Configuration (continued)
  2315.  
  2316.  
  2317.     C. Options (Alt-O) (continued)
  2318.  
  2319.        2. Settings available only through Alt-O (continued)
  2320.  
  2321.           . Alarm noise
  2322.  
  2323.         An alarm tune (of sorts) sounds when the Alt-R redial makes
  2324.         connection, and when file transfer is complete.  The noise
  2325.         is also played when certain error conditions occur.
  2326.  
  2327.         When disabled, the alarm window is held open without noise.
  2328.         The duration of the noise (or noiseless pause) is controlled
  2329.         through Alt-S Setup.
  2330.  
  2331.           . Exit query
  2332.  
  2333.         Some people dislike the query "do you really and truly mean
  2334.         it?" when they type Alt-X.  Others feel it mandatory.  COM-
  2335.         AND is distributed with exit query disabled.  You may enable
  2336.         it, if you're so inclined, through this Alt-O selection.
  2337.  
  2338.           . Mark transcript
  2339.  
  2340.         COM-AND marks every disk transcript taken (beginning and
  2341.         end) with the date and time.  You tell COM-AND not to mark
  2342.         further transcripts through this Alt-O selection.
  2343.  
  2344.         The transcript function also has the capability to add the
  2345.         backscreen (the full backscreen buffer's worth) to the
  2346.         transcript.  Turning transcript marking off means there
  2347.         will be no delimiter between the backscreen and transcript.
  2348.  
  2349.           . Initial advertisement
  2350.  
  2351.         In its distributed form, COM-AND's Information screen
  2352.         (Alt-I) is set to display when the program starts.  You may
  2353.         disable the display through this Alt-O setting.
  2354.  
  2355.           . Use BIOS for screen saves
  2356.  
  2357.         You may set BIOS screen accesses permanently through this
  2358.         option.  COM-AND defaults to direct screen buffer reads and
  2359.         writes.  Some machines (and environments) require you to use
  2360.         BIOS.  See also Appendix J on multitasking, and "Use DOS
  2361.         for screen writes", below.
  2362.  
  2363.  
  2364. Version 2.9: 921203
  2365.  
  2366. COM-AND: IBM PC Communications and Accessories                 Page  39
  2367.  
  2368.  
  2369. XII.    Program Configuration (continued)
  2370.  
  2371.  
  2372.     C. Options (Alt-O) (continued)
  2373.  
  2374.        2. Settings available only through Alt-O (continued)
  2375.  
  2376.           . Use DOS for screen writes
  2377.  
  2378.         You may set DOS screen writes permanently through this
  2379.         option.  When received text is written through DOS, ANSI.SYS
  2380.         or other console driver is invoked (if you turn all emulation
  2381.         off).  See also Appendix J on multi-tasking, and "Use BIOS
  2382.         for screen saves", above.
  2383.  
  2384.           . Display control characters
  2385.  
  2386.         COM-AND displays all displayable control characters if you
  2387.         choose (as many BBS's use them).  You may turn this feature
  2388.         off and on through Alt-O according to the system you use.
  2389.  
  2390.           . Software flow control (XON/XOFF)
  2391.  
  2392.         COM-AND supports software flow control using the XON/XOFF
  2393.         discipline.  You may enable and disable software flow con-
  2394.         trol according to the system(s) you use.
  2395.  
  2396.         NOTE: If you enable software flow control, and use a high
  2397.         speed modem, you should turn XON/XOFF flow control OFF in
  2398.         the modem.  Refer to your modem's manual.
  2399.  
  2400.           . Unidirectional hardware flow control (OLD style!)
  2401.  
  2402.         COM-AND supports a hardware flow control, raising RTS and
  2403.         waiting for CTS, before transmitting a char.  This function
  2404.         may be permanently established here, according to your
  2405.         needs.    [This method is rarely used now.]
  2406.  
  2407.           . Bidirectional hardware flow control (modern usage)
  2408.  
  2409.         COM-AND supports a second, more modern, hardware flow
  2410.         control, raising RTS when able to receive, and waiting for
  2411.         CTS before transmitting.  This function may be permanently
  2412.         established here, according to your needs.
  2413.  
  2414.         NOTE:  Most of the modern, high speed modems require this
  2415.         bidirectional flow control.  Refer to your modem's manual.
  2416.  
  2417.  
  2418.  
  2419. Version 2.9: 921203
  2420.  
  2421. COM-AND: IBM PC Communications and Accessories                 Page  40
  2422.  
  2423.  
  2424. XII.    Program Configuration (continued)
  2425.  
  2426.  
  2427.     C. Options (Alt-O) (continued)
  2428.  
  2429.        2. Settings available only through Alt-O (continued)
  2430.  
  2431.           . Drop DTR to hangup
  2432.  
  2433.         COM-AND disconnects either (1) by dropping DTR momentarily or
  2434.         (2) using the hangup escape sequence specified in the Alt-S
  2435.         setup.    Only use the first method if your modem is configured
  2436.         to follow DTR (see Appendix M, Modem Configuration).
  2437.  
  2438.           . Re-initialize modem after HANGUP
  2439.  
  2440.         COM-AND retransmits the modem initialization string (Alt-S
  2441.         above) after HANGUP, when this is ON.  If you alter modem
  2442.         settings (say, through a script) for individual connects,
  2443.         reinitializing after HANGUP ensures the modem is always in
  2444.         a proper default state.
  2445.  
  2446.           . Call-logging
  2447.  
  2448.         COM-AND logs successful connections, hangup, carrier drop-
  2449.         outs, file transfers and file encrypt/decryptions to a call-
  2450.         log when call-logging is enabled.  The name of the current
  2451.         call-log is declared through Alt-S.  Please refer to Chapter
  2452.         XIV, page 55.
  2453.  
  2454.           . Screen clock
  2455.  
  2456.         COM-AND displays the current time (as "hh:mm:ss" if no
  2457.         connection is known, and as "hh:mm (hh:mm)" showing current
  2458.         time and time since connection) on the status line when the
  2459.         Alt-O screen clock is ON.  The reminder "Press F10 for help"
  2460.         is displayed when the screen clock is OFF.
  2461.  
  2462.           . Suppress bells
  2463.  
  2464.         COM-AND does not sound received bell characters when this
  2465.         option is enabled.
  2466.  
  2467.           . Menu mode
  2468.  
  2469.         COM-AND supports a menu mode offering most all customary
  2470.         functions for execution with a mouse.  This mode may be set
  2471.         permanently here (interactively toggled with Alt-equal).
  2472.  
  2473.  
  2474. Version 2.9: 921203
  2475.  
  2476. COM-AND: IBM PC Communications and Accessories                 Page  41
  2477.  
  2478.  
  2479. XII.    Program Configuration (continued)
  2480.  
  2481.  
  2482.     C. Options (Alt-O) (continued)
  2483.  
  2484.        2. Settings available only through Alt-O (continued)
  2485.  
  2486.           . Respect CD
  2487.  
  2488.         COM-AND monitors carrier detect unless you turn the function
  2489.         off here (or with the /T run-time switch).  Carrier detect
  2490.         (CD) is monitored during file transfers and after successful
  2491.         connection through the dialing directory.
  2492.  
  2493.           . Suspend comm during disk (PCJr)
  2494.  
  2495.         This mode suspends the comm line (using flow control) during
  2496.         disk I/O.  This is needed on PCJrs and for (some) high speed
  2497.         communications (machine dependant).
  2498.  
  2499.           . Capture/Display RLE files
  2500.  
  2501.         COM-AND recognizes RLE files as they are received, and cap-
  2502.         tures them to disk while displaying them (if you have EGA
  2503.         or CGA).  It may be permanently enabled it here.  See also
  2504.         Appendix J on multi-tasking.
  2505.  
  2506.           . Allow MUSIC
  2507.  
  2508.         COM-AND plays music escape sequences when received when this
  2509.         function is enabled.  Music escape sequences take the form:
  2510.         "ESC,[,M,<BASICA encoded string>,^N".
  2511.  
  2512.           . Allow REMOTE
  2513.  
  2514.         COM-AND performs script commands received over from a REMOTE
  2515.         system when this is enabled.  REMOTE sequences take the form:
  2516.         "ESC,^,<script command>,<cr>".
  2517.  
  2518.           . Slow transfer sends
  2519.  
  2520.         COM-AND performs file transfers at an unusually high speed,
  2521.         using a technique called 'interrupt driven writes'.  Some
  2522.         network modems fail when pressed so hard.  This option may
  2523.         be used to slow COM-AND file transfers down a bit.  Please
  2524.         refer to Appendices J (page 90 and R (page 103).
  2525.  
  2526.  
  2527.  
  2528.  
  2529. Version 2.9: 921203
  2530.  
  2531. COM-AND: IBM PC Communications and Accessories                 Page  42
  2532.  
  2533.  
  2534. XII.    Program Configuration (continued)
  2535.  
  2536.  
  2537.     C. Options (Alt-O) (continued)
  2538.  
  2539.        2. Settings available only through Alt-O (continued)
  2540.  
  2541.           . ZMODEM auto download
  2542.  
  2543.         COM-AND will recognize and automatically start a ZMODEM
  2544.          receive under the host's control when this option is
  2545.          enabled.  It may be disabled to avoid false triggers (for
  2546.          example, by "friends" in CB/chat).
  2547.  
  2548.           . ZMODEM recovery
  2549.  
  2550.         The ZMODEM protocol defines a 'recovery' function for down-
  2551.         loads.    When the file being received already exists, and this
  2552.         option is enabled, the transfer picks up at the end of the
  2553.         file (presumably where a failed transfer ended).  [The prev-
  2554.         ious transfer may have used any protocol (!).] When disabled,
  2555.         ZMODEM downloads go to a unique file name each time.
  2556.  
  2557.           . BPLUS recovery
  2558.  
  2559.         The BPlus protocol defines a 'recovery' function for down-
  2560.         loads.    You control the recovery as described above for
  2561.         ZMODEM recovery.
  2562.  
  2563.  
  2564.        3. Save
  2565.  
  2566.           Values set through this screen are not automatically saved
  2567.           to disk.    Values set through this screen are immediately
  2568.           used by COM-AND.    To configure COM-AND to have the same
  2569.           settings the next time it is loaded, you must save them with
  2570.           the "Save" selection of the Alt-O window.
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584. Version 2.9: 921203
  2585.  
  2586. COM-AND: IBM PC Communications and Accessories                 Page  43
  2587.  
  2588.  
  2589. XII.    Program Configuration (continued)
  2590.  
  2591.  
  2592.     D. Colors (Alt-J)
  2593.  
  2594.        You may set foreground and background colors for
  2595.  
  2596.           (1) the CRT text area,
  2597.  
  2598.           (2) the status line, and
  2599.  
  2600.           (3) main menus (queries are set to black on white for
  2601.           contrast).
  2602.  
  2603.  
  2604.        The color names are those used in the IBM Technical Reference;
  2605.        if you have different names for some of the color values, I
  2606.        apologize.  My wife and I have argued for years over 'beige'.
  2607.  
  2608.  
  2609.        If the "Use DOS for screen writes" option is set, then the text
  2610.        colors selected above are ignored.  If this option is set, and
  2611.        the internal ANSI emulator is not turned off, then no color at
  2612.        all (beyond your DOS configuration) is available for text.
  2613.  
  2614.  
  2615.        Like other option menus, you may experiment with settings.
  2616.        Unless you save your settings, they are lost when the COM-AND
  2617.        terminates.
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639. Version 2.9: 921203
  2640.  
  2641. COM-AND: IBM PC Communications and Accessories                 Page  44
  2642.  
  2643.  
  2644. XIII.    File Transfer (PgUp, PgDn, Alt-F and F4)
  2645.  
  2646.  
  2647.     COM-AND offers several file transfer protocols, to and from your PC.
  2648.     Transfers to your PC are called downloads (down from the host).  File
  2649.     transfers from your PC are called uploads (up to the host).  The file
  2650.     transfer methods currently implemented are:
  2651.  
  2652.     o    XMODEM         (Windowed, CRC and checksum)
  2653.     o    YMODEM         (BBS YMODEM, a.k.a. XMODEM1K)
  2654.     o    Batch YMODEM (True YMODEM (tm), and YMODEM-G)
  2655.     o    ZMODEM         (batch)
  2656.     o    KERMIT         (Windowed or original)
  2657.     o    CIS-B         (classic, QuickB, and B+, for CompuServe)
  2658.     o    ASCII         (without error checking)
  2659.  
  2660.  
  2661.     To begin a transfer, you must FIRST tell the host (system) to start
  2662.     the transfer.  Each system is different in this respect.  Once the
  2663.     host is ready to start the transfer, THEN begin the transfer in
  2664.     COM-AND.
  2665.  
  2666.  
  2667.     The transfer in COM-AND begins with either the PgUp key (for upload)
  2668.     or PgDn key (for download).  The items on the menu presented are
  2669.     explicit; if you select CRC XMODEM, Windowed XMODEM is not used,
  2670.     even if the host supports it.  On the other hand, the definition of
  2671.     CRC XMODEM allows a 'drop' into checksum XMODEM, if the host doesn't
  2672.     support CRC.
  2673.  
  2674.  
  2675.     Each system you use has an optimal transfer method.  Select the
  2676.     method from the menu.  According to the transfer method selected,
  2677.     you may then be queried for a file name (or wildcard template in the
  2678.     case of KERMIT, ZMODEM and Batch YMODEM uploads).
  2679.  
  2680.  
  2681.     At this point, COM-AND takes over the transfer.  With the exception
  2682.     of ASCII transfers, the sequence is usually:
  2683.  
  2684.     o    Synchronize with the host
  2685.     o    Negotiate parameters for the transfer
  2686.     o    Transfer a file or files
  2687.     o    Report error or completion of transfer
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694. Version 2.9: 921203
  2695.  
  2696. COM-AND: IBM PC Communications and Accessories                 Page  45
  2697.  
  2698.  
  2699. XIII.    File Transfer (continued)
  2700.  
  2701.  
  2702.     During a file transfer, COM-AND displays an estimate of the time
  2703.     required for the transfer (for downloads the estimate is for 30K
  2704.     chunks, unless the protocol provides the true file size).  The
  2705.     transfer rate (in terms of bytes per second actually delivered) and
  2706.     efficiency (in terms of percent of maximum linespeed) is computed
  2707.     and displayed every few seconds.
  2708.  
  2709.  
  2710.     The download statistics window displays:
  2711.  
  2712.     . the file name of the file being transferred,
  2713.     . the method
  2714.     . the time so far,
  2715.     . the file size so far,
  2716.     . the number of blocks received,
  2717.     . the number of errors encountered,
  2718.     . a description of the last error encountered.
  2719.     . an estimate for the transfer time (to the nearest 30K interval,
  2720.       unless the protocol supplies the true file size)
  2721.     . and the efficiency of the transfer (percent linespeed)
  2722.  
  2723.  
  2724.     The upload statistics window displays:
  2725.  
  2726.     . the file name of the file being transferred,
  2727.     . its size,
  2728.     . the method
  2729.     . the number of blocks being transferred,
  2730.     . the time so far,
  2731.     . the number of blocks sent,
  2732.     . if windowing the current 'window' size
  2733.     . the number of errors encountered,
  2734.     . a description of the last error encountered.
  2735.     . an estimate for the transfer time
  2736.     . and the efficiency of the transfer (percent linespeed)
  2737.  
  2738.  
  2739.     During file transfers, cursor keys may be used to position the
  2740.     statistics window on the screen.  If the window does not move
  2741.     immediately, wait a moment;  remember, characters are coming
  2742.     in rather quickly.
  2743.  
  2744.     ----------------------------------------------------------------
  2745.     Protocols are not available through accessory programs.
  2746.     ----------------------------------------------------------------
  2747.  
  2748.  
  2749. Version 2.9: 921203
  2750.  
  2751. COM-AND: IBM PC Communications and Accessories                 Page  46
  2752.  
  2753.  
  2754. XIII.    File Transfer (continued)
  2755.  
  2756.  
  2757.     A. XMODEM Up/Download
  2758.  
  2759.  
  2760.        The XMODEM protocol was developed by Ward Christensen in 1977,
  2761.        and has become the best known and most generally available file
  2762.        transfer protocol.  It was extended to use windowing in 1986 by
  2763.        Peter Boswell.  COM-AND supports transfers to/from systems
  2764.        accepting checksum, CRC, or Windowed XMODEM.
  2765.  
  2766.        When you request XMODEM upload, you are asked for a file.  Once
  2767.        the file's existence has been assured, COM-AND begins protocol
  2768.        negotiation with the host system.  One of the possible protocols
  2769.        is negotiated, according to your choice and the host's implemen-
  2770.        tation.  Up to 60 seconds are allowed for the negotiation.  If
  2771.        60 seconds is exceeded, the transfer fails.
  2772.  
  2773.        When you request XMODEM download, you are asked for a file name.
  2774.        Once the file has been created (you are queried for a purge if
  2775.        it already exists), COM-AND begins protocol negotiation with the
  2776.        host system.  One of several protocols is negotiated, according
  2777.        to your choice and to the host's implementation.  COM-AND drops
  2778.        through WXMODEM after 24 seconds.  COM-AND drops through CRC
  2779.        XMODEM after 24 seconds.  If the host does not acknowledge CRC
  2780.        XMODEM, then finally, CHECKSUM is attempted.  Up to 100 seconds
  2781.        are allowed for the negotiation.  If 100 seconds is exceeded, the
  2782.        transfer fails.
  2783.  
  2784.        COM-AND is intended primarily for users of networks and services
  2785.        available through the networks.  For this reason, COM-AND
  2786.        implements what is referred to as "relaxed XMODEM".  The networks
  2787.        introduce timing delays into file transfers not contemplated by
  2788.        the original XMODEM standard.  However, the relaxed XMODEM works
  2789.        quite well with BBS's expecting strict XMODEM.
  2790.  
  2791.        COM-AND was developed for use in a network environment.  There-
  2792.        fore, an XMODEM variant is available:  Windowed XMODEM (WXMODEM).
  2793.        This protocol is designed to accommodate network delays and
  2794.        maximize performance.  It also accomodates XON/XOFF flow control.
  2795.        WXMODEM gives approximately 35% faster transfer rates in network
  2796.        environments.  For details about WXMODEM refer to Appendix D.
  2797.  
  2798.        COM-AND changes the communications parameters to 8 data bits, no
  2799.        parity, and 1 stop bit when XMODEM begins.  It restores settings
  2800.        to their original state after XMODEM completes.
  2801.  
  2802.  
  2803.  
  2804. Version 2.9: 921203
  2805.  
  2806. COM-AND: IBM PC Communications and Accessories                 Page  47
  2807.  
  2808.  
  2809. XIII.    File Transfer (continued)
  2810.  
  2811.  
  2812.     B. YMODEM Up/Download (BBS YMODEM and Batch YMODEM/YMODEM-G)
  2813.  
  2814.  
  2815.        The YMODEM protocol was developed by Chuck Forsberg, in the early
  2816.        1980's, to address efficiency and stability issues.
  2817.  
  2818.        COM-AND supports several several YMODEM variants:
  2819.  
  2820.        .  simple YMODEM (Bulletin Board YMODEM, also known as XMODEM1k)
  2821.        .  Batch YMODEM (properly named "True YMODEM (tm)")
  2822.        .  Batch YMODEM-G (streaming version for error free connections)
  2823.  
  2824.        When one of the YMODEM uploads is selected, you are asked for a
  2825.        file name (or in the case of Batch YMODEM and YMODEM-G, a wild-
  2826.        card template).  Once the file's existence has been assured,
  2827.        protocol negotiation with the host system begins.  Up to 60
  2828.        seconds are allowed for the negotiation.  If 60 seconds are
  2829.        exceeded, the transfer fails.  You may restart it, of course.
  2830.  
  2831.        When simple YMODEM/XMODEM1k download is selected, you are asked
  2832.        for a file name.  Once the file has been created (you are queried
  2833.        for a purge if it already exists), COM-AND begins protocol nego-
  2834.        tiation with the host system.  Up to 60 seconds are allowed for
  2835.        the negotiation.  If 60 seconds is exceeded, the transfer fails.
  2836.  
  2837.        When a Batch YMODEM or YMODEM-G download is selected, you ARE NOT
  2838.        asked for a file name.  The host supplies the name(s).  For this
  2839.        reason, if the supplied name duplicates a name on the default
  2840.        download subdirectory, the new file name has its last character(s)
  2841.        (usually the extension) changed to '$'.
  2842.  
  2843.        YMODEM (in all its variants) is more efficient in any environ-
  2844.        ment than simple XMODEMs (CRC and checksum) simply because it
  2845.        transfers longer blocks of data at a time.  YMODEM is subject,
  2846.        however, to the same problems (lack of flow control, for one)
  2847.        known well to XMODEM users in networked environments.
  2848.  
  2849.        Variations on YMODEM abound.  The various namings of this protocol
  2850.        proliferate; even YMODEM's developer has changed his naming of the
  2851.        protocol; thus COM-AND uses the most common names (and the name
  2852.        given it by the developer in its original specification).
  2853.  
  2854.        COM-AND changes the communications parameters to 8 data bits, no
  2855.        parity, and 1 stop bit when any YMODEM begins.  It restores
  2856.        settings to their original state after YMODEM completes.
  2857.  
  2858.  
  2859. Version 2.9: 921203
  2860.  
  2861. COM-AND: IBM PC Communications and Accessories                 Page  48
  2862.  
  2863.  
  2864. XIII.    File Transfer (continued)
  2865.  
  2866.  
  2867.     C. ZMODEM Up/Download
  2868.  
  2869.  
  2870.        The ZMODEM protocol was developed by Chuck Forsberg in 1986, and
  2871.        has become the de facto standard for BBSes.    ZMODEM is available
  2872.        for transfers on many on-line hosts, as well.
  2873.  
  2874.        When you begin ZMODEM upload, a wildcard template is requested
  2875.        (for example, FILE*.ASM).  Once the (first) file's existence has
  2876.        been assured, COM-AND begins protocol negotiation with the host
  2877.        system.  Up to 60 seconds are allowed for the negotiation.  After
  2878.        60 seconds, the transfer fails.
  2879.  
  2880.        COM-AND detects and automatically begins ZMODEM receive when the
  2881.        'auto' option of Alt-O is enabled.  If this option is disabled,
  2882.        the ZMODEM receive must be manually started.
  2883.  
  2884.        When a ZMODEM download begins, you ARE NOT asked for a file name.
  2885.        The host supplies the name(s).  ZMODEM defines a 'recovery' mode
  2886.        (which is enabled/disabled through Alt-O).  When recovery is dis-
  2887.        abled, and the download file name duplicates an existing file,
  2888.        the download name has its last character(s) changed to '$'.
  2889.        When recovery is enabled, and the name supplied duplicates an
  2890.        existing file, the transfer begins at the old end-of-file.
  2891.        Presumably, the file is there as the result of a failed transfer.
  2892.  
  2893.        On download, once the file has been opened, COM-AND begins nego-
  2894.        tiation with the host system.  Up to 60 seconds are allowed for
  2895.        the negotiation.  After 60 seconds, the transfer fails.
  2896.  
  2897.        ZMODEM is more efficient in a networked environment than XMODEM
  2898.        (CRC and checksum) for several reasons.  First, ZMODEM transfers
  2899.        longer blocks of data at a time (up to 1024 byte blocks).  Second,
  2900.        ZMODEM is designed to accomodate XON/XOFF flow control as used
  2901.        by many hosts and networks.    Third, ZMODEM sends continuously,
  2902.        until the receiver detects an error (streaming).
  2903.  
  2904.        COM-AND does not implement some of the 'management' and 'trans-
  2905.        port' options intended for batch and automatic operation.  COM-AND
  2906.        does not implement ZMODEM fall-back to YMODEM or XMODEM.
  2907.  
  2908.        COM-AND changes the communications parameters to 8 data bits, no
  2909.        parity, and 1 stop bit when ZMODEM begins, and enables soft flow
  2910.        control.  It restores settings to their original state after
  2911.        ZMODEM completes.
  2912.  
  2913.  
  2914. Version 2.9: 921203
  2915.  
  2916. COM-AND: IBM PC Communications and Accessories                 Page  49
  2917.  
  2918.  
  2919. XIII.    File Transfer (continued)
  2920.  
  2921.  
  2922.     D. KERMIT Up/Download
  2923.  
  2924.        The KERMIT protocol was developed at Columbia University and has
  2925.        been very popular at some computer sites.  COM-AND supports both
  2926.        KERMIT (original) and Super KERMIT (windowed).
  2927.  
  2928.        When you request KERMIT upload, you are asked for a file template
  2929.        (e.g.  *.EXE).  Once the first file's existence has been assured,
  2930.        COM-AND begins protocol negotiation with the host system.  Up to
  2931.        60 seconds are allowed for the negotiation.    After 60 seconds,
  2932.        the transfer fails.    You may restart it, of course.
  2933.  
  2934.        When you request KERMIT download, you ARE NOT be asked for a
  2935.        file name.  The host supplies the name.  For this reason, if the
  2936.        supplied name duplicates one on your default download subdir-
  2937.        ectory, the file name has its last character(s) changed to '$'.
  2938.        Once the file has been created, COM-AND begins protocol negotia-
  2939.        tion with the host system.  Up to 60 seconds are allowed for the
  2940.        negotiation.  After 60 seconds, the transfer fails.    You may
  2941.        restart it, of course.
  2942.  
  2943.        KERMIT has grown in many directions over the years.    Originally,
  2944.        it was a 7-bit protocol.  Extensions were added to accomodate
  2945.        8-bit data, and to negotiate the 'width' (7 or 8 bits) of the
  2946.        transfer.  Extensions have been added to support a simple data
  2947.        compression method (run length encoding).  Extensions have been
  2948.        added to accomodate windowing (called Super KERMIT).
  2949.  
  2950.        COM-AND supports all KERMIT facilities through the windowing
  2951.        extensions.    COM-AND supports a window size of up to 8.  COM-AND
  2952.        does not support the (later) large block size extension.
  2953.  
  2954.        COM-AND attempts to negotiate an 8 bit data path if you have
  2955.        set your comm parameters 8N1.  An 8 bit data path provides the
  2956.        most efficient file transfer.
  2957.  
  2958.        COM-AND does not (now) change parity and data bits settings for
  2959.        the transfer.
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969. Version 2.9: 921203
  2970.  
  2971. COM-AND: IBM PC Communications and Accessories                 Page  50
  2972.  
  2973.  
  2974. XIII.    File Transfer (continued)
  2975.  
  2976.  
  2977.     E. CIS-B and B+ Up/download
  2978.  
  2979.  
  2980.        The CIS-B protocol was developed at CompuServe and is their
  2981.        protocol 'of choice'.  Files may be transferred to and from
  2982.        CompuServe (CIS) using CISB, and B+ protocols.
  2983.  
  2984.        When you initiate a transfer on CIS (sending OR receiving), you
  2985.        tell CIS the name of the file to transfer AND tell CIS the name
  2986.        for the file on your PC.  CIS takes over, and instructs COM-AND
  2987.        to open the file you specified.  Once the file's existence has
  2988.        been assured, COM-AND begins protocol negotiation with CIS.    Up
  2989.        to 60 seconds are allowed for the negotiation.  If 60 seconds is
  2990.        exceeded, the transfer fails.
  2991.  
  2992.        When using VIDTEX emulation in COM-AND, it is not necessary to
  2993.        manually select PgUp/PgDn to send and receive files.  In VIDTEX,
  2994.        COM-AND recognizes CIS's instructions to begin a protocol trans-
  2995.        fer once you have instructed CIS as to the transfer.
  2996.  
  2997.        A variant of CIS-B known as B+ (BPlus) is available in COM-AND.
  2998.        B+ supports limited windowing and larger block lengths.  It also
  2999.        changes the quoting mechanism to optimize binary transfer and
  3000.        accomodate network peculiarities.
  3001.  
  3002.        B+ also provides failed download recovery (if you have enabled
  3003.        it in Alt-O).  When recovery is enabled, and the name supplied
  3004.        duplicates an existing file, the transfer begins at the old end-
  3005.        of-file.  Presumably, the file is there as the result of a failed
  3006.        transfer.  CIS B+, however, actually TESTs the file's data to
  3007.        verify the request; if the test fails, COM-AND downloads the
  3008.        entire file with the last character(s) of the name changed ('$').
  3009.  
  3010.        B+ is quite efficient, even in a networked environment, and
  3011.        offers transfer efficiencies comparable to ZMODEM or YMODEM.
  3012.        The original CISB is less efficient... but more efficient than
  3013.        XMODEM or other protocols offered by CIS.
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024. Version 2.9: 921203
  3025.  
  3026. COM-AND: IBM PC Communications and Accessories                 Page  51
  3027.  
  3028.  
  3029. XIII.    File Transfer (continued)
  3030.  
  3031.  
  3032.     F. ASCII Upload (PgUp, and F5)
  3033.  
  3034.  
  3035.        File data may be transmitted to a system using a simple 'send'
  3036.        (as if entered by hand).  When an ASCII upload is invoked, you
  3037.        are prompted for a file name.  Once the file has been opened,
  3038.        you are prompted with a small menu with various options:
  3039.  
  3040.        .  Host prompting
  3041.  
  3042.           Transfer may occur in one of two ways:
  3043.  
  3044.           1) with a prompt from the host (some special character) or
  3045.           2) without a host prompt for every line.
  3046.  
  3047.           If 'Host prompting' is set 'On', you are asked for the prompt
  3048.           character (either an ASCII or a control character). The prompt
  3049.           character is entered as you see it, unless it is a control
  3050.           character (e.g.  enter ^J for a line feed).
  3051.  
  3052.        .  Send linefeeds
  3053.  
  3054.           Line feeds may be suppressed during the transmission.  ASCII
  3055.           text files contain line feeds you (usually) do not send.
  3056.  
  3057.        .  Expand tabs
  3058.  
  3059.           Similarly, tab characters may or may not be expanded during
  3060.           the transmission.  ASCII text files contain tabs you (usually)
  3061.           want to expand during transmission.
  3062.  
  3063.        .  Stop at control-z
  3064.  
  3065.           Transfer may be terminated when an an end-of-file character
  3066.           (control-Z) is encountered.  This is the case in most ASCII
  3067.           files.
  3068.  
  3069.        .  Respect XON/XOFF
  3070.  
  3071.           ASCII upload uses the default XON/XOFF setting established
  3072.           through Alt-O.  You may change the setting here temporarily.
  3073.           We do not recommend this - use Alt-O instead.
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079. Version 2.9: 921203
  3080.  
  3081. COM-AND: IBM PC Communications and Accessories                 Page  52
  3082.  
  3083.  
  3084. XIII.    File Transfer (continued)
  3085.  
  3086.  
  3087.     F. ASCII Upload (continued)
  3088.  
  3089.  
  3090.        .  Expand blank lines
  3091.  
  3092.           You may choose to expand null lines to a blank line.  This is
  3093.           convenient on many BBS's, where at least one blank is required
  3094.           for an entry to be interpreted as text.
  3095.  
  3096.        .  Line pacing
  3097.  
  3098.           You may choose to send lines of text with fixed delays between
  3099.           lines.  This is needed on some systems.  You may set the delay
  3100.           in intervals of 1/10th of a second.
  3101.  
  3102.  
  3103.        Transfer is, in all cases, paced (timed).  Transmission begins
  3104.        at maximum speed.  You may alter the pacing with the Ctl-PgUp and
  3105.        Ctl-PgDn keys during the transmission.  Ctl-Home increases the
  3106.        speed to its maximum.  Ctl-End decreases the transmission speed
  3107.        to its minimum.  ESC or F1-F10 terminates the send.
  3108.  
  3109.  
  3110.        The ASCII send function in COM-AND responds to XON/XOFF sequences
  3111.        transmitted by the host (when this function is enabled).  When an
  3112.        XOFF is received, COM-AND waits up to 30 seconds for a subsequent
  3113.        XON.  Transmission is suspended while COM-AND waits.  Transmis-
  3114.        sion resumes after 30 seconds, or after COM-AND receives an XON.
  3115.  
  3116.  
  3117.        ----------------------------------------------------------------
  3118.        NOTE: When host prompting is specified, the first line is sent and
  3119.        then COM-AND waits for a host prompt.  Should the prompt from the
  3120.        the host be lost (inadvertently, of course), the left arrow key
  3121.        (or function key (F1-F10)) sends the next line.
  3122.        ----------------------------------------------------------------
  3123.        NOTE: When host prompting is specified, COM-AND 'looks ahead' in
  3124.        the file being transmitted.    COM-AND does not wait for a prompt
  3125.        when end-of-file follows the last carriage return in the file.
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134. Version 2.9: 921203
  3135.  
  3136. COM-AND: IBM PC Communications and Accessories                 Page  53
  3137.  
  3138.  
  3139. XIII.    File Transfer (continued)
  3140.  
  3141.  
  3142.     F. ASCII Upload (continued)
  3143.  
  3144.  
  3145.        ----------------------------------------------------------------
  3146.        NOTE: When stop-on-control-z is specified, COM-AND transmits
  3147.        a carriage return on end-of-file (if a carriage return was not
  3148.        the last character transmitted).
  3149.        ----------------------------------------------------------------
  3150.        NOTE: The percent transmitted is incorrect when the file being
  3151.        transmitted is small (less than 1000 bytes).  Don't be surprised.
  3152.        I was.  Sorry 'bout that.
  3153.  
  3154.  
  3155.     G. ASCII Download (PgDn, and F6)
  3156.  
  3157.  
  3158.        ASCII downloads differ from transcripting (F7) in that no extra
  3159.        characters are added to the file (i.e. line feeds after received
  3160.        carriage returns, and end-of-file are added when transcripting).
  3161.        Transcripting is intended to result in an ASCII edit file (or a
  3162.        printed log).  ASCII downloads may implement binary transfers.
  3163.  
  3164.  
  3165.        XON/XOFF flow control is performed during an ASCII download
  3166.        according to the current Alt-O setting.
  3167.  
  3168.  
  3169.        Anything you type while the download function is being performed
  3170.        is transmitted to the host system.  ESC or F1-F10 terminates the
  3171.        receive function and closes the capture file.
  3172.  
  3173.  
  3174.        COM-AND functions (macros, scripts etc) are not available during
  3175.        an ASCII receive.
  3176.  
  3177.  
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189. Version 2.9: 921203
  3190.  
  3191. COM-AND: IBM PC Communications and Accessories                 Page  54
  3192.  
  3193.  
  3194. XIII.    File Transfer (continued)
  3195.  
  3196.  
  3197.     H. File directory (Alt-F)
  3198.  
  3199.  
  3200.        A directory of files on any legitimate disk may be requested with
  3201.        Alt-F.  A search mask is requested.    Enter one just as you would
  3202.        with the DIR command of DOS.  For example:
  3203.  
  3204.         D:*.TXT
  3205.  
  3206.        specifies all files with the extension "TXT" from the "D" drive.
  3207.        File names and modification dates are displayed, 20 at a time.
  3208.        When the list is exhausted, the amount of free space remaining on
  3209.        the specified drive is displayed.
  3210.  
  3211.  
  3212.        Should you wish a search of a subdirectory, you must enter a
  3213.        full file mask.  The mask:
  3214.  
  3215.         C:\TEMP
  3216.  
  3217.        specifies a search on the root directory for a file named TEMP
  3218.        with no extension.  If you want to search the TEMP subdirectory
  3219.        of the root directory, enter:
  3220.  
  3221.         C:\TEMP\*.*
  3222.  
  3223.  
  3224.     I. Default download path (F4)
  3225.  
  3226.  
  3227.        All file receive functions of COM-AND write to a default path,
  3228.        unless the given file name is qualified (with a drive and/or
  3229.        path).  The default drive:path is set through the F4 function.
  3230.  
  3231.  
  3232.        Please note that this setting is automatically saved for the next
  3233.        use of COM-AND.  No "do you wish to save this setting" prompt is
  3234.        used here; the setting is permanent until next changed.
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244. Version 2.9: 921203
  3245.  
  3246. COM-AND: IBM PC Communications and Accessories                 Page  55
  3247.  
  3248.  
  3249. XIV.    Logging and Call-logging
  3250.  
  3251.  
  3252.     COM-AND offers two methods to log activity for later review.  The
  3253.     two methods are transcripting and call-logging.  The transcript
  3254.     records every character of received text...  the call-log records
  3255.     calls made through the dialing directory, hangups, carrier dropouts,
  3256.     file transfers, accessory programs, and file encryption/decryption.
  3257.  
  3258.  
  3259.     Generally speaking, the transcript function is invoked when you want
  3260.     an exact record of everything you've seen (COM-AND even allows you
  3261.     to transcript text seen BEFORE transcripting is turned on).  It is
  3262.     not used all the time.    The call-log is enabled once, and left to
  3263.     record all system activity.
  3264.  
  3265.  
  3266.     A transcript is an ASCII file recording all text you captured.    The
  3267.     only discussion of its contents needed is to point out that COM-AND
  3268.     marks the time of transcript start and end, unless you direct other-
  3269.     wise (through Alt-O, transcript marking).
  3270.  
  3271.  
  3272.     The call-log, however, requires some further discussion.  The call-
  3273.     log is an ASCII file too.  The call-log contents are fixed in format.
  3274.     An example of such a log might be:
  3275.  
  3276.          COM-AND loaded
  3277.          CONNECT: CIS 2400 (chicago)   2400,E,7,1,COM2;ATDT263-5636
  3278.          Dnl BAROQUE.BAS 7552 ( 0:00:32)    98.3% QuickB       0 errs
  3279.          DISCONNECT ( 0:02:33)
  3280.          CONNECT: Source (Chi) C S15   1200,N,8,1,COM2;ATDT938-0600
  3281.          Dnl YES.BAS     2008 ( 0:00:27)    64.3% Super KERMIT 1 errs
  3282.          DISCONNECT ( 0:04:57)
  3283.          CONNECT: Scintillation        2400,N,8,1,COM2;ATDT953-4922
  3284.          Dnl MAZE.ARC    34816 ( 0:02:36)    92.9% YMODEM (chk) 0 errs
  3285.          CARRIER dropped: ( 0:06:02)
  3286.          COM-AND exited ( 0:14:57)
  3287.          COM-AND loaded
  3288.          * Annotation line entered through Alt-U
  3289.          * I'm going to encrypt/decrypt a file for demonstration
  3290.          ENCRYPT:  COM-AND.EXE     to ENCRFILE      154567 ( 0:00:17)
  3291.          DECRYPT:  ENCRFILE     to DECRFILE      154568 ( 0:00:11)
  3292.          COM-AND exited ( 0:02:33)
  3293.          ACCESSORY: PC-VCO Maug mode:        PC-VCO.EXE /2/m/s
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299. Version 2.9: 921203
  3300.  
  3301. COM-AND: IBM PC Communications and Accessories                 Page  56
  3302.  
  3303.  
  3304. XIV.    Logging and Call-logging (continued)
  3305.  
  3306.  
  3307.     In the above example, the timestamp from each line has been removed
  3308.     to make it more easily read in document form.  Each line of the
  3309.     call-log is discussed below.
  3310.  
  3311.     o  COM-AND loaded
  3312.  
  3313.        The "COM-AND loaded" line is issued to timestamp the time COM-AND
  3314.        was invoked from DOS.  This is only logged, of course, when call-
  3315.        logging had been previously enabled.
  3316.  
  3317.     o  CONNECT: <name>            <commparms>    ;<dialing string>
  3318.  
  3319.        The "CONNECT" line is logged when a connection has been made
  3320.        through the dialing directory (Alt-D, Alt-R, and script DIAL and
  3321.        MANUAL commands).  <Name> is taken from the dialing directory.
  3322.        <Commparms> record the current setting and port after connection.
  3323.        <Dialing string> records the dialing sequence passed the modem.
  3324.  
  3325.     o  Dnl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3326.        Upl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3327.  
  3328.        The "Dnl" and "Upl" lines record downloads and uploads (performed
  3329.        through PgDn, PgUp keys, and script GETFILE, SENDFILE commands).
  3330.        <Size>, <time>, <eff>, <errs> and <method> record the file size,
  3331.        transfer time, efficiency of transfer, count of errors, and method
  3332.        used (XMODEM, CISB etc).  Errored transfers are also recorded,
  3333.        with "error = nnn" in place of <size><time><eff%>.  COM-AND error
  3334.        numbers are listed in an appendix of the document CASCRIPT.DOC.
  3335.  
  3336.        Note: ASCII file transfers are not call-logged.
  3337.  
  3338.     o  DISCONNECT (<time>)
  3339.  
  3340.        The "DISCONNECT" line records a manual hangup (Alt-H).  If a
  3341.        connection is known, the time since the connection was made is
  3342.        recorded.
  3343.  
  3344.     o  CARRIER dropped: (<time>)
  3345.  
  3346.        The "CARRIER dropped" line records a loss of carrier when a
  3347.        connection is known.  The time since the connection was made is
  3348.        recorded.
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354. Version 2.9: 921203
  3355.  
  3356. COM-AND: IBM PC Communications and Accessories                 Page  57
  3357.  
  3358.  
  3359. XIV.    Logging and Call-logging (continued)
  3360.  
  3361.  
  3362.     o  * <annotation>
  3363.  
  3364.        Annotation lines (added through Alt-U) are delimited with
  3365.        asterisks (note: lines written to the call-log through the
  3366.        script CLOG statement are not necessarily delimited).
  3367.  
  3368.     o  ENCRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3369.        DECRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3370.  
  3371.        The "ENCRYPT" and "DECRYPT" lines record successful file encryp-
  3372.        tion and decryption (Alt-N and script ENCRYPT, DECRYPT commands).
  3373.        <Fromfile>, <tofile>, <Size>, and <time> record the files used,
  3374.        file size, and processing time.  Errored encryption and decryption
  3375.        attempts are not recorded.
  3376.  
  3377.     o  COM-AND exited (<time>)
  3378.  
  3379.        The "COM-AND exited" line is issued to timestamp the time COM-AND
  3380.        terminated.    The total time COM-AND was in use is recorded.
  3381.  
  3382.     o  COM-AND exited (CONNECT=<time>) (<time>)
  3383.  
  3384.        This form of the "COM-AND exited" line is issued to timestamp the
  3385.        time COM-AND terminated, when a connection is known.  The time
  3386.        since the connection was made is recorded as well as the total
  3387.        time COM-AND was in use is recorded.
  3388.  
  3389.     o  ACCESSORY: <F1 menu name> <program invocation>
  3390.  
  3391.        The "ACCESSORY" lines record a program loaded by COM-AND through
  3392.        the F1 Accessory menu (accessory entries which do not load a pro-
  3393.        gram are not recorded).  The entry name and the program invoca-
  3394.        tion are logged.  Accessory terminations and process creation
  3395.        errors are not logged.  Script files without a subsequent program
  3396.        are not logged when executed.
  3397.  
  3398.     Keyboard commands relating to logging and call-logging follow on the
  3399.     next page.
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409. Version 2.9: 921203
  3410.  
  3411. COM-AND: IBM PC Communications and Accessories                 Page  58
  3412.  
  3413.  
  3414. XIV.    Logging and Call-logging (continued)
  3415.  
  3416.  
  3417.     A. Disk logging [transcripting] (F7)
  3418.  
  3419.        You may transcript what you receive to a disk (or PRN) with the
  3420.        "Disk logging" function.  The transcript is marked with the date
  3421.        and time it began and ended if transcript marking is set on
  3422.        through the Alt-O screen.
  3423.  
  3424.        COM-AND keeps the last characters received in a buffer for back-
  3425.        screen (or redisplay).  The size of the buffer is adjustable
  3426.        through Alt-S.  When you invoke transcripting, you are asked if
  3427.        the backscreen is to be saved first.  If you respond "Y", the
  3428.        backscreen is written to the transcript file before the "BEGIN"
  3429.        mark (if marking is enabled).  F7 is a toggle (press it a second
  3430.        time to terminate logging.
  3431.  
  3432.  
  3433.     B. Log hold [transcripting] (F9)
  3434.  
  3435.        The transcript may be suspended with the F9 toggle.    Logging
  3436.        status is displayed on the status line (if KBD buffer hasn't been
  3437.        enabled).  When the log is held, what is received is not copied to
  3438.        the transcript.  No mark is made to show the transcript was held.
  3439.        This key is a toggle (press it again to resume logging).
  3440.  
  3441.  
  3442.     C. Annotate call-log (Alt-U)
  3443.  
  3444.        Notes may be made directly to the call-log (not the transcript).
  3445.        [If no call-log is active, you are asked if you wish to open a
  3446.        call-log.  However, the call-log is closed when you exit COM-AND
  3447.        and not reopened the next time, unless you save the option option
  3448.        through Alt-O.]
  3449.  
  3450.        The Alt-U window allows you to enter a line at a time to the call-
  3451.        log.  Each line is delimited with an asterisk ("*").  When you
  3452.        press <cr>, the line is written to the call-log.  The last three
  3453.        lines so entered are displayed for convenience.
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464. Version 2.9: 921203
  3465.  
  3466. COM-AND: IBM PC Communications and Accessories                 Page  59
  3467.  
  3468.  
  3469. XV.    Miscellaneous Functions
  3470.  
  3471.  
  3472.     A. Default Drive:Subdirectory (F3)
  3473.  
  3474.        You may change the default drive:subdirectory at any time through
  3475.        the F3 window.  This affects files uploaded but not files down-
  3476.        loaded (see File Transfers, page 54).  When the program
  3477.        terminates, you are left on the selected drive:path.
  3478.  
  3479.     B. Keyboard display (F8)
  3480.  
  3481.        Some talk systems are more friendly when what you type is not
  3482.        mixed in with what you receive.  Turning echo off (if the system
  3483.        echoes key-entry) may be accomplished in a number of ways (note:
  3484.        this is different from program echo, Alt-E, above).
  3485.  
  3486.        However, all of a sudden there is a new problem: you don't see
  3487.        what you're typing!  Keyboard display in COM-AND is one way to
  3488.        solve this problem.    What you type is displayed on the status
  3489.        line when keyboard display is turned on.
  3490.  
  3491.        Keyboard display may be set on permanently through the Alt-O
  3492.        options window.
  3493.  
  3494.     C. Chat mode (Alt-A)
  3495.  
  3496.        Chat mode is another way to make typing more friendly when what
  3497.        you type isn't echoed by the host.  A 'chat window' of 2-10 lines
  3498.        may be opened just above the status line.  The last few lines
  3499.        you've typed are displayed there.
  3500.  
  3501.        Chat mode may be set on permanently through the Alt-O options
  3502.        window.  You may specify the size of the Chat window in Alt-S.
  3503.  
  3504.     D. Redisplay [backscreen] (Alt-B)
  3505.  
  3506.        COM-AND saves lines scrolled 'off' the screen for redisplay (up to
  3507.        the buffer size set through Alt-S).    When you request redisplay,
  3508.        the screen is 'frozen' (as the last page of the backscreen).  You
  3509.        may page backwards and forwards using the 'PgUp', and 'PgDn' keys.
  3510.  
  3511.        The 'Home' key finds the first page of the redisplay.  The 'End'
  3512.        key move to the last page of the redisplay.    Exit redisplay with
  3513.        the ESC key.
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519. Version 2.9: 921203
  3520.  
  3521. COM-AND: IBM PC Communications and Accessories                 Page  60
  3522.  
  3523.  
  3524. XV.    Miscellaneous Functions (continued)
  3525.  
  3526.  
  3527.     E. Clear Screen (Alt-C and received TOF)
  3528.  
  3529.        The command Alt-C entered at the keyboard clears the screen.
  3530.        Similarly, when the host sends a control-L (^L or decimal 12) the
  3531.        screen is cleared.
  3532.  
  3533.     F. Echo (Alt-E)
  3534.  
  3535.        COM-AND writes keypresses directly through the COM port.  Some
  3536.        services turn around what is sent to be visible ("full duplex",
  3537.        or echoplex) and some don't ("half duplex").  You may force
  3538.        COM-AND to display what you type in the CRT window by toggling
  3539.        echo.  Setting echo on through the Alt-O window turns echo on
  3540.        immediately, and the next time you run COM-AND.
  3541.  
  3542.        Echo may be set for each call through the dialing directory and
  3543.        permanently through the Alt-O options window.  The dialing
  3544.        directory setting overrides Alt-O, of course.
  3545.  
  3546.     G. Blank line suppression (Alt-G)
  3547.  
  3548.        Blank lines may be suppressed from the display if you choose.
  3549.        This is especially useful when double spacing is done by a
  3550.        system's conference area.
  3551.  
  3552.        Blank line suppression may be set permanently through the Alt-O
  3553.        options window.
  3554.  
  3555.     H. 43(50)/25 line toggle (Alt-L)
  3556.  
  3557.        If you have an EGA (or VGA) adapter, you may want 43(50) line
  3558.        displays.  If you enter COM-AND from a 43(50) line screen,
  3559.        COM-AND automatically displays in 43(50) line mode.    Alt-L may
  3560.        be used to toggle 25/43(50) line line modes during COM-AND.
  3561.  
  3562.        Do not use Alt-L during VIDTEX sessions on CIS.  CIS does use
  3563.        the new setting.
  3564.  
  3565.     I. Kermit parameters (Alt-K)
  3566.  
  3567.        The parameters COM-AND uses during the KERMIT negotiation may be
  3568.        changed and saved using the Alt-K menu.  It is not recommended
  3569.        you change these values unless you understand their meaning
  3570.        completely.    The supplied defaults are suitable for most KERMIT
  3571.        installations.
  3572.  
  3573.  
  3574. Version 2.9: 921203
  3575.  
  3576. COM-AND: IBM PC Communications and Accessories                 Page  61
  3577.  
  3578.  
  3579. XV.    Miscellaneous Functions (continued)
  3580.  
  3581.  
  3582.     J. Time and alarms (Alt-T)
  3583.  
  3584.        The time elapsed since the program started, and since the last
  3585.        Alt-D dialing command or Alt-R is displayed through the Alt-T
  3586.        window.  The 'last call' time may be reset (if you are actually
  3587.        connected) manually here (or through a script).  An alarm may
  3588.        also be set here, either for the single session or permanently
  3589.        (every time you use COM-AND).  When the alarm is triggered, a
  3590.        pop-up window and a tune announce the fact.
  3591.  
  3592.     K. Playback (Alt-W)
  3593.  
  3594.        You may display the contents of a file in the CRT area with
  3595.        Alt-W, Playback.  You are asked for a file name.  The contents
  3596.        of the file are displayed in the text area as if text were
  3597.        being received.
  3598.  
  3599.        Playback is paced (timed).  It begins at minimum speed.  Alter
  3600.        the pacing with the Ctl-PgUp and Ctl-PgDn keys.  Pause the
  3601.        playback with the space bar.  Cancel the display with ESC.
  3602.  
  3603.     L. Program termination (Alt-X)
  3604.  
  3605.        COM-AND is exited (and returns to DOS) with the Alt-X.  The usual
  3606.        query "are you sure" is issued if "Exit query" is turned on with
  3607.        the Alt-O selection.
  3608.  
  3609.        When you exit COM-AND, unless you ran COM-AND with the /P switch
  3610.        (piggyback), you are asked about hangup if carrier is reported by
  3611.        the modem.  [If piggyback is set, or if CDRESPECT is OFF, you are
  3612.        not queried.]
  3613.  
  3614.        NOTE:  a script may override the Alt-X function.  When a script
  3615.        has done this, after Alt-X is pressed (and after the hangup query
  3616.        if it is needed) a new script may start!
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629. Version 2.9: 921203
  3630.  
  3631. COM-AND: IBM PC Communications and Accessories                 Page  62
  3632.  
  3633.  
  3634. XV.    Miscellaneous Functions (continued)
  3635.  
  3636.  
  3637.     M. Parity (hi-bit) mask (Alt-Z)
  3638.  
  3639.        You may mask parity from every received character by setting
  3640.        the parity mask on permanently through the Alt-O window.  I've
  3641.        found this useful, mandatory when I've needed it.
  3642.  
  3643.        Some services require you to logon with 8 data bits, no parity, if
  3644.        you intend to download (or upload files).  When there is an X.25
  3645.        network between your PC and the service, certain characters (such
  3646.        as backspace may be transmitted with parity on, regardless of your
  3647.        setting).  In these cases, parity masking is very nice to have.
  3648.  
  3649.        Toggle the current parity mask setting with Alt-Z.
  3650.  
  3651.  
  3652.  
  3653.  
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684. Version 2.9: 921203
  3685.  
  3686. COM-AND: IBM PC Communications and Accessories                 Page  63
  3687.  
  3688.  
  3689. XVI.    DOS Gateway (Alt-F10)
  3690.  
  3691.  
  3692.        COM-AND offers a gateway to a DOS shell through Alt-F10.  The
  3693.        DOS gateway requires a few preliminaries, however.
  3694.  
  3695.     .  There must be sufficient memory for the current DOS shell (usually
  3696.        COMMAND.COM), COM-AND, and a second DOS shell.  If there is insuf-
  3697.        ficient memory, the Alt-F10 is rejected for 'insufficient memory'.
  3698.  
  3699.     .  There should be an environment variable 'COMSPEC' pointing to
  3700.        the DOS shell for Alt-F10 to load.  If this variable is missing
  3701.        (has been deleted), COMMAND.COM on the default drive, root
  3702.        directory is used (if present).
  3703.  
  3704.  
  3705.     When the DOS gateway is entered, you can perform any DOS function
  3706.     that the shell supports.  Memory available to that shell is
  3707.     decreased by the presence of COM-AND still running.
  3708.  
  3709.  
  3710.     You return to COM-AND by exiting the DOS shell.  [If the shell
  3711.     is COMMAND.COM, type the command 'EXIT' to return to COM-AND.
  3712.     Exit other shells accordingly.]
  3713.  
  3714.  
  3715.     ------------------------------------------------------------------
  3716.     NOTE:  In order to make full use of the DOS gateway, you must
  3717.     provide yourself with the capacity for more open files than the
  3718.     default.  The number of files allowed open at any one time is
  3719.     increased by editing the file CONFIG.SYS on the root directory of
  3720.     your boot disk, adding (or changing) a line:  "FILES=n", where n
  3721.     is a number from 1 to 20.  At least 12 is recommended.    Refer to
  3722.     your DOS manual for particulars.
  3723.  
  3724.  
  3725.  
  3726.  
  3727.  
  3728.  
  3729.  
  3730.  
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739. Version 2.9: 921203
  3740.  
  3741. COM-AND: IBM PC Communications and Accessories                 Page  64
  3742.  
  3743.  
  3744. XVII.    Emulation (Alt-V)
  3745.  
  3746.  
  3747.     COM-AND supports several terminal emulations.  COM-AND defines
  3748.     'terminal emulation' as three individual functions:
  3749.  
  3750.     o    Display emulations
  3751.     o    Translations of received and transmitted characters
  3752.     o    Keyboard remapping
  3753.  
  3754.     All three functions are controlled through the Alt-V menu.  However,
  3755.     translations and remapping require preparation external to COM-AND.
  3756.  
  3757.  
  3758.     A.  Display emulation
  3759.  
  3760.         COM-AND supports five display emulations:  TTY, ANSI, VidTex,
  3761.         VT100, and VT52 in the current release.  Display emulations are
  3762.         selected through Alt-V.  The setting is enabled as soon is it
  3763.         selected.  Save the setting if COM-AND is to use the setting
  3764.         every time it is loaded.
  3765.  
  3766.         . TTY is appropriate for most BBSes and host systems.  What is
  3767.           received is displayed and what it typed is sent.
  3768.  
  3769.         . ANSI is appropriate for some BBSes and some host systems.
  3770.           The host is given considerable control over cursor positioning
  3771.           and display colors.  [Details of ANSI display sequences are
  3772.           discussed below in Appendix E.]
  3773.  
  3774.         . VidTex is appropriate only for the CompuServe (tm) system.
  3775.           The mode MUST be set before logging onto CompuServe if you
  3776.           want to use this mode.  CompuServe does not allow you to
  3777.           change 'modes' after logging on.  [See Appendix F.]
  3778.  
  3779.         . VT100 and VT52 emulations are appropriate only for certain
  3780.           host systems and communications applications.  [Details of
  3781.           VT100/VT52 display sequences are discussed in Appendix E.]
  3782.  
  3783.  
  3784.         Display emulation in COM-AND only refers to COM-AND's response
  3785.         to certain control sequences received from the host.  Selection
  3786.         of a display emulation has no effect on character translation
  3787.         or on keyboard remapping.
  3788.  
  3789.         Character translation and keyboard remapping must be specified
  3790.         independently (see the following).
  3791.  
  3792.  
  3793.  
  3794. Version 2.9: 921203
  3795.  
  3796. COM-AND: IBM PC Communications and Accessories                 Page  65
  3797.  
  3798.  
  3799. XVII.    Emulation (continued)
  3800.  
  3801.  
  3802.     B. Translation
  3803.  
  3804.        COM-AND translates characters both incoming and outgoing if you
  3805.        choose.  Characters are translated immediately upon receipt, and
  3806.        just before transmission, using two tables (one incoming and one
  3807.        for outgoing) supplied in the file COM-AND.XLT.
  3808.  
  3809.  
  3810.        When translation is enabled, the only cases where characters are
  3811.        NOT translated is within the binary protocols (XMODEM, YMODEM,
  3812.        KERMIT, and CIS-B), and when modem commands are issued.
  3813.  
  3814.  
  3815.        The file COM-AND.XLT is a binary file.  It must be supplied by
  3816.        you.  COM-AND.XLT consists of two tables:  each 256 bytes in
  3817.        size.  Within a table, the 'nth' byte contains the translation
  3818.        for the character of value 'n'.  Within the 'incoming' table, you
  3819.        are translating character with value 'n' received, to something
  3820.        else (hopefully ASCII).  Within the 'outgoing' table, you are
  3821.        translating a character (probably ASCII again, e.g. a keypress)
  3822.        of value 'n' into something else.
  3823.  
  3824.  
  3825.        On the incoming side, translating a character to a null indicates
  3826.        COM-AND is to ignore the character.
  3827.  
  3828.  
  3829.        Obviously, the creation and maintenance of such a file is quite
  3830.        an effort.  It requires an ASCII table t'boot!  A script, XLATE.
  3831.        CMD is supplied to serve to format, display and edit the tables.
  3832.        You'll still need the ASCII table, however.  [Within the PC, all
  3833.        characters are treated as ASCII (as defined by IBM of course).]
  3834.  
  3835.  
  3836.        Translation is enabled and disabled through Alt-V (it may also be
  3837.        enabled or disabled through the XLATE.CMD script).  The table(s)
  3838.        may be edited at any time.  The new values are not used by
  3839.        COM-AND until translation is re-enabled (turned ON) after the
  3840.        changes are saved to disk.
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849. Version 2.9: 921203
  3850.  
  3851. COM-AND: IBM PC Communications and Accessories                 Page  66
  3852.  
  3853.  
  3854. XVII.    Emulation (continued)
  3855.  
  3856.  
  3857.     C. Remapping
  3858.  
  3859.        To complete the overall function of 'emulation', COM-AND offers
  3860.        an internal 'keyboard remapping' function.  Remapping makes COM-
  3861.        AND see a keystroke as another keystroke or even a string of
  3862.        keys.  When a remapped key is pressed, COM-AND sees the key(s)
  3863.        redefining it instead.
  3864.  
  3865.  
  3866.        Remaps allow the COM-AND to provide a keyboard similar to a ter-
  3867.        minal being emulated.  One immediate difficulty presents itself,
  3868.        however...  within COM-AND, certain keys have certain meanings
  3869.        (e.g.  F1 for a help screen, Alt-F10 for shell-to-DOS and so on).
  3870.        When you redefine a key COM-AND uses, either some other key must
  3871.        be redefined to replace it or the function in COM-AND is lost
  3872.        while the remap is in effect.
  3873.  
  3874.  
  3875.        Remaps only affect actual keystrokes when pressed; they do not
  3876.        have any affect on characters within the binary protocols
  3877.        (XMODEM, YMODEM, KERMIT, and CIS-B), or script TRANSMIT text.
  3878.  
  3879.  
  3880.        Remaps are specified through a binary file, COM-AND.RMP.  It must
  3881.        be created outside of COM-AND.  COM-AND.RMP consists of one
  3882.        table, defining keys being remapped and their new value(s).
  3883.  
  3884.  
  3885.        Needless to say:  the creation and maintenance of such a file is
  3886.        more effort than dealing with the translation tables!  A script,
  3887.        REMAP.CMD is supplied to create a suitable COM-AND.RMP file.
  3888.  
  3889.  
  3890.        REMAP.CMD compiles a simple language for remapping.    Keys (such
  3891.        as F1) are given 'names' (Function key F1 is 'F1').  A simple
  3892.        syntax is defined to redefine any key COM-AND can detect.
  3893.        REMAP.CMD expects a source file prepared with a text editor (like
  3894.        a script).  It compiles the source file into COM-AND.RMP.  Sample
  3895.        remaps (in source form) are provided in REMAPS.TXT.
  3896.  
  3897.  
  3898.        Remapping is enabled/disabled through Alt-V (also through the
  3899.        REMAP.CMD script and Alt-O).  The table may be reconstructed at
  3900.        any time; the new table is not used by COM-AND until remapping is
  3901.        enabled again (turned ON) after the changes are saved to disk.
  3902.  
  3903.  
  3904. Version 2.9: 921203
  3905.  
  3906. COM-AND: IBM PC Communications and Accessories                 Page  67
  3907.  
  3908.  
  3909. XVII.    Emulation (continued)
  3910.  
  3911.  
  3912.     D. Other related settings
  3913.  
  3914.        Two related settings are available through Alt-V.  They are:
  3915.  
  3916.        . Status Line ON/OFF
  3917.  
  3918.          The status line may be disabled through Alt-V, yielding the last
  3919.          line of the display for received text.  When the status line is
  3920.          disabled, the keyboard buffer (F8) is disabled, of course.  How-
  3921.          ever, the special script/statement buffer invoked with Alt-2-5-5
  3922.          is NOT disabled...  just invisible.
  3923.  
  3924.          When COM-AND is used in tandem with DOORWAY (see Appendix S) or
  3925.          a Doorway-like utility, disable the status line for the best
  3926.          effect.
  3927.  
  3928.        . Wrap ON/OFF
  3929.  
  3930.          Line wrapping at the last character position may be disabled.
  3931.          For most purposes, this is undesirable... however, again, with
  3932.          DOORWAY and Doorway-like utilities, it may be best to disable
  3933.          line-wrap.
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959. Version 2.9: 921203
  3960.  
  3961. COM-AND: IBM PC Communications and Accessories                 Page  68
  3962.  
  3963.  
  3964. XVIII.    Script Language
  3965.  
  3966.  
  3967.     A script automates certain manual tasks, and allows COM-AND to run
  3968.     unattended (in some cases).  Scripting is invoked in several ways:
  3969.  
  3970.     o   when COM-AND is loaded:
  3971.  
  3972.         ..    COM-AND.CMD, is executed immediately if found
  3973.         ..    INSTALL.CMD, is executed if the file COM-AND.DFT is created
  3974.         (not updated), if INSTALL.CMD is available
  3975.         ..    the /F switch in the run command specifies a script to
  3976.         execute immediately (after COM-AND.CMD, and INSTALL.CMD)
  3977.  
  3978.     o   interactively (F2)
  3979.     o   attached to a dialing directory entry
  3980.  
  3981.     Script commands are read by COM-AND from an ASCII file (wordprocessor
  3982.     files are not usually ASCII files (!)).  COM-AND's internal editor
  3983.     (Alt-Q), programmer's text editors, and EDLIN (included with DOS)
  3984.     may be used to create and modify a script file.  [If you use a word
  3985.     processor to update a script, ensure the particular program can
  3986.     write an ASCII file (often called non-document format, perhaps even
  3987.     called ASCII).]
  3988.  
  3989.     Once a script begins, execution of COM-AND is automatic, driven by
  3990.     the script.  However, the ESC key may be used to terminate most (but
  3991.     not all) scripts at any time.  During dialing, two ESCs are needed.
  3992.     One terminates the dial function, and the second ends the script.
  3993.  
  3994.     Generally, a script takes the form: <perform some action>
  3995.                         <wait for a response>
  3996.                         <perform some action...
  3997.     and so on.
  3998.  
  3999.     For example, a script might dial a number listed in the dialing
  4000.     directory and wait for the "ID = " prompt from the dialed host.
  4001.     The scripts included with COM-AND provide examples of such scripts.
  4002.     However, the COM-AND script language is not limited to just such
  4003.     tasks...  programs may be loaded and passed parameters, screen
  4004.     windows may be opened and scrolled...  A nontrivial BBS has been
  4005.     written as a COM-AND script, and is provided with the distribution
  4006.     for the interested (and intrepid!).
  4007.  
  4008.     Documentation for the COM-AND script language is presented in the
  4009.     separate document CASCRIPT.DOC.
  4010.  
  4011.  
  4012.  
  4013.  
  4014. Version 2.9: 921203
  4015.  
  4016. COM-AND: IBM PC Communications and Accessories                 Page  69
  4017.  
  4018.  
  4019. XIX.    Text Editor
  4020.  
  4021.  
  4022.     A light-duty text editor is available within COM-AND, invoked
  4023.     with Alt-Q.  An editor has been included for many reasons...
  4024.  
  4025.     .  Scripts written for COM-AND are ASCII text files.  Popular
  4026.        word-processors do NOT produce ASCII files (unless the capa-
  4027.        bility is provided, and the word processor is then instruc-
  4028.        ted to produce an ASCII file)...
  4029.  
  4030.     .  Many scripts (such as the scripted BBS) eventually need a text
  4031.        editor to prepare text (such as a reply to a note) to use within
  4032.        the script.
  4033.  
  4034.     .  Often, the need arises to view a capture log quickly, or to
  4035.        view the call-log...
  4036.  
  4037.  
  4038.     The text editor within COM-AND is a light-duty editor, capable of
  4039.     opening up to 5 files at one time.  Each file may be up to 19,200
  4040.     lines, each line limited to 128 characters.  It is intended for
  4041.     viewing and searching long files, and the creation of short files.
  4042.  
  4043.  
  4044.     This text editor is limited, when modifying text, by the size of
  4045.     memory available above COM-AND.  It does not use EMS memory, and
  4046.     does not spill to disk.  For this reason, it is a light duty editor.
  4047.  
  4048.  
  4049.     The text editor is invoked from COM-AND with Alt-Q.  Alt-Q prompts
  4050.     for a file name.  Press ESC at this prompt to return to COM-AND.
  4051.     The file name you enter may exist, but need not exist.    Within the
  4052.     editor, F10 provides a summary of editor commands.
  4053.  
  4054.  
  4055.     Documentation for the COM-AND text editor is presented in the
  4056.     separate document CAEDIT.DOC.  Please refer to it for details.
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069. Version 2.9: 921203
  4070.  
  4071. COM-AND: IBM PC Communications and Accessories                 Page  70
  4072.  
  4073.  
  4074. XX.    Program Requirements
  4075.  
  4076.  
  4077.     This program is coded for an IBM PC or DOS compatible machine.
  4078.     COM-AND does direct-to-screen buffer fetches and stores (unless
  4079.     BIOS screen updates are directed using the /C switch or the Alt-O
  4080.     options menu).
  4081.  
  4082.  
  4083.     Note: COM-AND is TopView aware even without the /C switch (or
  4084.     Alt-O option).
  4085.  
  4086.  
  4087.     COM-AND supports MDA, CGA, EGA, VGA and Hercules.  COM-AND supports
  4088.     a Microsoft Mouse if one is available.
  4089.  
  4090.  
  4091.     COM-AND disk I/O is done through the 'Handle' oriented I/O routines
  4092.     added to DOS 2.0.  Therefore DOS 2.0 is a minimum requirement.
  4093.  
  4094.  
  4095.     COM-AND (Version 2.9) requires 277K for itself.  You need 384K
  4096.     minimally to use COM-AND and the DOS Gateway, and more to take
  4097.     advantage of accessories.
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124. Version 2.9: 921203
  4125.  
  4126. COM-AND: IBM PC Communications and Accessories                 Page  71
  4127.  
  4128.  
  4129. XXI.    Program and Author Information
  4130.  
  4131.  
  4132.     This program was written using Microsoft Macro-Assembler.  The
  4133.     author likes assembler.  Assembly language is an entirely
  4134.     appropriate vehicle for some of the program, and a not-inappro-
  4135.     priate vehicle for the rest of it.  Everything, in moderation...
  4136.  
  4137.  
  4138.     COM-AND has been written by, and is supported by R.  Scott McGinnis
  4139.     (CABER Software) of Chicago, Illinois.    My GEnie and Delphi IDs are:
  4140.     TARTAN.  My CIS ID is 73147,2665.  Comment and suggestions (and
  4141.     criticism in moderation) are welcomed:
  4142.  
  4143.              CABER Software
  4144.              R. (Scott) McGinnis
  4145.              P.O. Box 3607 Mdse Mart
  4146.              Chicago, IL 60654-0607
  4147.  
  4148.  
  4149.     I want to thank the sysops on GEnie, Paul Homchick, David Kozinn
  4150.     and Charles Strom for their support of this program in its early
  4151.     days (known as PC-VCO).  Their opening an RTC just for PC-VCO made
  4152.     it possible to reach a wide audience quickly and to gather comments
  4153.     and criticism from people using the program.
  4154.  
  4155.     I thank my wife, Elizabeth, who supported this effort and doesn't
  4156.     laugh at me (except for the time I tried to squeeze between a grape
  4157.     arbor and a board fence...).  She has been my companion and partner
  4158.     for many years and I am grateful.
  4159.  
  4160.     I also thank Jim Aspinwall, who contributed the Appendix below on
  4161.     modem initializations, and Dr. David Snyder, who contributed the
  4162.     marvelous TARTAN icon for COM-AND under Windows 3.0.
  4163.  
  4164.  
  4165.     This program (Version 2.9) may be distributed freely along with its
  4166.     accessories with the caveat: the Author information displayed at
  4167.     program termination may not be removed.  If the program is USED
  4168.     after a 30 day evaluation, you MUST pay for it (see REGISTER.DOC).
  4169.  
  4170.  
  4171.     PROCOMM, PCPLus, and ASPECT are trademarks of the DataStorm cor-
  4172.     poration.  DSZ is a trademark of OMEN Technology.  Windows is a
  4173.     trademark of the MicroSoft Corporation.  DesqView is a trademark
  4174.     of the QuarterDeck Corporation.  Smartmodem is a trademark of the
  4175.     Hayes Corporation.
  4176.  
  4177.  
  4178.  
  4179. Version 2.9: 921203
  4180.  
  4181. COM-AND: IBM PC Communications and Accessories                 Page  72
  4182.  
  4183.  
  4184. A.    Switches and parameters
  4185.  
  4186.  
  4187.     Program Switches:
  4188.  
  4189.     /A  'Chat mode':  COM-AND may be set to default to the chat mode
  4190.         split screen through the Alt-O options menu.  However, you may
  4191.         wish to turn chat on for some systems and off for others.
  4192.  
  4193.     /B  'Black and White mode':  COM-AND may be set to use or not use
  4194.         colors on-screen with the Alt-J Colors menu.  /B on the command
  4195.         line is an expedient way to turn colors off temporarily.
  4196.  
  4197.     /C  'Compatible': COM-AND normally does direct screen buffer reads
  4198.         and writes for its pop-up menus.  The /C switch forces COM-AND
  4199.         to use BIOS for all such references (e.g.  when under WINDOWS).
  4200.  
  4201.     /E  'no EGA': Turn off EGA/VGA support (forcing 25 line mode when
  4202.          COM-AND is entered in 43(50) line mode).
  4203.  
  4204.     /F  'Execute script':  The /F switch followed by a legitimate file
  4205.         name (for example /FPLINK.CMD) designates that file for execu-
  4206.         tion as a script after COM-AND is loaded.  The file name given
  4207.         defaults to .CMD (and .ENF) if the name-as-given is not found.
  4208.  
  4209.     /G  'Blank line suppression': Blank lines are used to double space
  4210.         on some systems.  Alt-G toggles a blank line suppression feature
  4211.         interactively.  /G in the run command turns the feature on when
  4212.         COM-AND is loaded.    This feature may also be set through Alt-O.
  4213.  
  4214.     /H  'No mode': inhibit COM-AND from changing screen mode when the
  4215.         screen is initialized.
  4216.  
  4217.     /I  'No Init': inhibit the modem initialization string from being
  4218.         transmitted at run-time.
  4219.  
  4220.     /J 'PCJr':  Suspend comm during disk I/O, when logging, WXMODEM,
  4221.         CIS BPlus and Super KERMIT.
  4222.  
  4223.     /K  'KBD Buffer': Turn on KBD buffer (F8).
  4224.  
  4225.     /L  'EGA/VGA mode':  Set 43(50) line mode on upon entry.  This is
  4226.         is automatic if COM-AND is entered from a 43(50) line screen.
  4227.         This feature may be toggled within COM-AND with Alt-L.
  4228.  
  4229.     /M  'No Mouse': Turn off MOUSE support (e.g. when running under
  4230.         WINDOWS or DesqView).
  4231.  
  4232.  
  4233.  
  4234. Version 2.9: 921203                           Appendices
  4235.  
  4236. COM-AND: IBM PC Communications and Accessories                 Page  73
  4237.  
  4238.  
  4239. A.    Switches and Parameters (continued)
  4240.  
  4241.  
  4242.     /P  'Piggyback':  COM-AND opens the COM port in such a manner as to
  4243.         retain another program's already opened line.  When COM-AND is
  4244.         exited, the previous state is restored.
  4245.  
  4246.     /Q  'No COM-AND.CMD':  This switch inhibits the automatic execution
  4247.         of COM-AND.CMD (if one is present).  It is provided for batch
  4248.         invocations, where the automatic script might require action.
  4249.  
  4250.     /R  'Report Receive Errors':  This switch reports ALL receive
  4251.         errors.  During testing, certain nodes of certain networks
  4252.         consistently reported framing errors.  The apparent error did
  4253.         not interfere, so report of it was suppressed.
  4254.  
  4255.     /S  'Bidirectional flow control':  This switch sets 'Bidirectional
  4256.         Flow control' ON at load time.  When this switch is set, RTS is
  4257.         turned high when COM-AND is able to read, and (CTS) is awaited
  4258.         before writes.
  4259.  
  4260.         Certain modems do not work with this discipline.  Other modems
  4261.         (especially the new 9600 bps modems) and interconnects require
  4262.         it.  The option may be set permanently through Alt-O.
  4263.  
  4264.     /T  'Carrier override':  This switch forces COM-AND to ignore the
  4265.         carrier detect sense reported by the MODEM.  COM-AND tests the
  4266.         carrier detect sense during all file transfers, and through the
  4267.         script processor.  A few modems apparently cannot (???) report
  4268.         carrier detect.  This switch facilitates the use of COM-AND on
  4269.         those modems (to perform file transfers).
  4270.  
  4271.     /V  'Menu mode':  This switch forces COM-AND to initialize in menu
  4272.         mode.  The top line menu comes up after initialization.
  4273.  
  4274.     /W  'Slow transfers':  This switch forces COM-AND to slow down its
  4275.         file transfers.  COM-AND uses interrupt driven writes for file
  4276.         transfers...  which is too fast for some network modems (!).
  4277.         This switch enables COM-AND's use with those modems.
  4278.  
  4279.     /X  'Debug mode': This switch enables certain resident debugging keys
  4280.         (such as Ctl-F2, which writes a dump of memory to disk).  I do
  4281.         not recommend you use it.  I document it only for the curious.
  4282.  
  4283.     /Z  'REMOTE commands':  This switch allows COM-AND to perform script
  4284.         commands received through the sequence:  "ESC ^ <text> <cr>".
  4285.         This switch overrides the Alt-O setting.
  4286.  
  4287.  
  4288.  
  4289. Version 2.9: 921203                           Appendices
  4290.  
  4291. COM-AND: IBM PC Communications and Accessories                 Page  74
  4292.  
  4293.  
  4294. A.    Switches and Parameters (continued)
  4295.  
  4296.  
  4297.     Program parameters:
  4298.  
  4299.        COM1     COM-AND uses the COM1 port
  4300.        COM2     COM-AND uses the COM2 port
  4301.        COM3     COM-AND uses the COM3 port (base addr 3e8h)
  4302.        COM4     COM-AND uses the COM4 port (base addr 2e8h)
  4303.  
  4304.        300        COM-AND uses port at 300 bps
  4305.        1200     COM-AND uses port at 1200 bps
  4306.        2400     COM-AND uses port at 2400 bps
  4307.        4800     COM-AND uses port at 4800 bps
  4308.        9600     COM-AND uses port at 9600 bps
  4309.        14K        COM-AND uses port at 14.4K bps
  4310.        19K        COM-AND uses port at 19.2K bps
  4311.        38K        COM-AND uses port at 38.4K bps
  4312.        57K        COM-AND uses port at 57.6K bps
  4313.        115K     COM-AND uses port at 115K bps
  4314.  
  4315.        EVEN     COM-AND uses port with even parity
  4316.        ODD        COM-AND uses port with odd parity
  4317.        NONE     COM-AND uses port with no parity
  4318.  
  4319.        DATA7    COM-AND transmits/receives 7 data bits
  4320.        DATA8    COM-AND transmits/receives 8 data bits
  4321.  
  4322.        STOP1    COM-AND uses and expects 1 stop bit
  4323.        STOP2    COM-AND uses and expects 2 stop bits
  4324.  
  4325.        BIOS     COM-AND uses BIOS for communications services;
  4326.        BIOS (#)    (#) may be optional port # (parentheses required)
  4327.             Please refer to Appendix P, page 100.
  4328.  
  4329.        DIAL <n>    After initialization, COM-AND dials directory entry
  4330.             <n>, using the rate, parity, data and stop bits as
  4331.             specified.
  4332.  
  4333.     Program switches require no delimiters.  Parameters must be
  4334.     preceded by a blank.  For example:
  4335.  
  4336.     A> COM-AND 1200      Run the program at 1200 bps
  4337.     A> COM-AND /L1200     43(50) line mode, 1200 bps
  4338.     A> COM-AND /L 1200     43(50) line mode, 1200 bps
  4339.  
  4340.     Program defaults are: "d"> COM-AND COMx 300 EVEN DATA7 STOP1
  4341.     where COMx is the first installed port COM-AND can find.
  4342.  
  4343.  
  4344. Version 2.9: 921203                           Appendices
  4345.  
  4346. COM-AND: IBM PC Communications and Accessories                 Page  75
  4347.  
  4348.  
  4349. B.    COM-AND Error display.
  4350.  
  4351.  
  4352.     One command not listed in the F10 help display is Alt-Y.  This
  4353.     command displays RS232 and file errors encountered.  RS232 errors
  4354.     list both the last error condition recorded and a count of errors.
  4355.     RS232 errors are:
  4356.  
  4357.     Receive error.    The hex value represents:
  4358.  
  4359.        Bit 0:  Shouldn't occur in display, but what do I know....
  4360.        Bit 1:  Overrun.  Indicates a character waiting in the 8250
  4361.            receive buffer was not read before the next character
  4362.            overwrote it.
  4363.        Bit 2:  Parity error.  Indicates the parity of a received
  4364.            character was incorrect.  This report is normally
  4365.            suppressed.    Enable it with the /R switch.
  4366.        Bit 3:  Framing error.  Indicates a character received
  4367.            lacked a valid stop bit.
  4368.        Bit 4:  Break interrupt. Not too many systems send a break.
  4369.  
  4370.        Other bits of the LSR of the 8250 are masked off.
  4371.  
  4372.     Send error.  The hex value represents:
  4373.  
  4374.        Bit 7:  A timeout occurred in one of three places:
  4375.            . Waiting for DSR to go true
  4376.            . Waiting for CTS to go true
  4377.            . Waiting for the transmit holding register to clear
  4378.              The first two conditions are normally suppressed,
  4379.              but may be overridden with the /S switch.
  4380.  
  4381.        Other bits are masked out. There is serious trouble (or my over-
  4382.        sight) if anything but Hex 80 is reported.
  4383.  
  4384.     Buffer overflow.
  4385.  
  4386.        This program uses an interrupt service routine to read the
  4387.        COM port.  The ISR fills a 4096 byte buffer.  The application
  4388.        takes characters out of the circular receive buffer one by
  4389.        one.  Buffer overflow may occur when the application is
  4390.        suspended; for example when a menu is pending attention, and
  4391.        flow control is not enabled.
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399. Version 2.9: 921203                           Appendices
  4400.  
  4401. COM-AND: IBM PC Communications and Accessories                 Page  76
  4402.  
  4403.  
  4404. C.    Files
  4405.  
  4406.  
  4407.     COM-AND expects the following files on the default drive/subdirectory
  4408.     (or COM-AND= environment variable specified drive/subdirectory):
  4409.  
  4410.     COM-AND.DFT     Parameter save area (Alt-S, Alt-O and Alt-P)
  4411.     COM-AND.DIR     Dialing directory (change name in Alt-S)
  4412.     COM-AND.MAC     Macro definition (change name in Alt-S)
  4413.     COM-AND.ACC     Accessory definitions (F1) (change name in Alt-S)
  4414.  
  4415.     COM-AND creates the .DFT file at load-time if not found.  COM-AND
  4416.     automatically updates the .DFT file if the program version number
  4417.     is different from the .DFT file version number.
  4418.  
  4419.     COM-AND creates, if not present (filling with default values):    an
  4420.     empty dialing directory, and empty macro definition, and an empty
  4421.     accessory definition.  Different versions of COM-AND require dif-
  4422.     ferent structures to the .DFT file...  previous versions (with the
  4423.     exception of 1.0) are accepted; however when a new major (e.g. 1.0,
  4424.     2.0, ...) is released the previous .DFT file probably should be
  4425.     purged (and recreated by COM-AND).
  4426.  
  4427.     COM-AND also uses:
  4428.  
  4429.     COM-AND.XLT     Translation tables; see XLATE.CMD script
  4430.     COM-AND.RMP     Keyboard remapping table; see REMAP.CMD script
  4431.     COM-AND.LOG     Default call-log file
  4432.     COM-AND.TUN     Tune file (if present; ASCII file, PLAY data)
  4433.     COM-AND.CMD     Automatic script (if present, executed at init)
  4434.     INSTALL.CMD     Automatic script (if present, and if COM-AND.DFT is
  4435.              created (not updated))
  4436.     COM-AND.RLE     Last RLE viewed (used during receipt of RLEs)
  4437.  
  4438.     The ".RLE" and ".LOG" file names may be changed through the Alt-S
  4439.     (Setup) Menu.  COM-AND currently implements the rule for file names:
  4440.     If the given file name carries a drive spec (i.e.  C:) or path
  4441.     (subdirectory), the name is taken 'as is'.  If neither is provided
  4442.     the default drive and subdirectory are added to the file name.
  4443.  
  4444.     COM-AND shares Dialing Directory and Macro Definition files with
  4445.     PROCOMM 2.4.2 and before.  In this case, the subdirectory on which
  4446.     these files may be found must be specified through the Alt-S func-
  4447.     tion, and the values saved for subsequent executions.  COM-AND's
  4448.     updates to these files are acceptable to PROCOMM, and PROCOMM's
  4449.     to COM-AND (true at least through Version 2.4.2 of PROCOMM).
  4450.  
  4451.  
  4452.  
  4453.  
  4454. Version 2.9: 921203                           Appendices
  4455.  
  4456. COM-AND: IBM PC Communications and Accessories                 Page  77
  4457.  
  4458.  
  4459. D.    Windowed XMODEM (WXMODEM)
  4460.  
  4461.  
  4462.     In June, 1986, Peter Boswell of PLINK issued a specification for
  4463.     an XMODEM protocol variant called Windowed XMODEM (WXMODEM to its
  4464.     friends).  WXMODEM was designed primarily to overcome delays
  4465.     imposed by the X.25 networks.  X.25 network delays are mostly
  4466.     imperceptible to conversational users of the networks...  however,
  4467.     people performing file transfers might expect to see up to 50% of
  4468.     the transfer time eaten up in these delays!
  4469.  
  4470.     Asynchronous communications lines do not suffer these same delays.
  4471.     When one accustomed to Bulletin Boards (dialed through a direct
  4472.     phone line) enters the network environment, file transfers feel
  4473.     entirely 'too slow'.  The difference is entirely in the network
  4474.     (and many times intervening satellite hops).
  4475.  
  4476.  
  4477.     Windowed XMODEM also accomodates the requirements of new services
  4478.     such as PC Pursuit...  permitting XON/XOFF flow control by the
  4479.     network during a binary file transfer (this is not possible with
  4480.     XMODEM, as transparency is required).  Flow control permits higher
  4481.     data rates while retaining existing network interconnects.
  4482.  
  4483.  
  4484.     Windowed XMODEM was implemented on PLINK in September, 1986.  Many
  4485.     comm programs on many different machines have been modified or
  4486.     written to implement WXMODEM for PLINK communications.    The differ-
  4487.     ence in throughput between CRC XMODEM and WXMODEM is astounding.
  4488.     I measure at least 35% and sometimes as much as 40% improvement in
  4489.     transfer times over CRC XMODEM.  In real terms, this means the dif-
  4490.     ference between 24 minutes and 40 minutes for a download of the same
  4491.     (approximately 120K) file at 1200 bps.
  4492.  
  4493.  
  4494.     Windowed XMODEM is still a new protocol.  Its developers discovered
  4495.     quite a few practicalities during its implementation that had not
  4496.     been addressed in the original specification.  However, WXMODEM is
  4497.     now available on Delphi, and for various BBS's (TCOMM, and RBBS,
  4498.     for example).
  4499.  
  4500.  
  4501.     For the technically inclined, the Windowed XMODEM specification may
  4502.     be found on many bulletin boards and most systems as WXMODEM.ARC.  An
  4503.     excellent analysis of XMODEM problems in an X.25 environment was also
  4504.     published (electronically) by Peter Boswell.  In the latter paper,
  4505.     Peter quantifies exactly the delays and their predicted overhead in
  4506.     an X.25 environment.
  4507.  
  4508.  
  4509. Version 2.9: 921203                           Appendices
  4510.  
  4511. COM-AND: IBM PC Communications and Accessories                 Page  78
  4512.  
  4513.  
  4514. E.    ANSI, VT100, and VT52 graphics
  4515.  
  4516.  
  4517.     1. ANSI sequences
  4518.  
  4519.        COM-AND may be set to display ANSI graphics.  ANSI graphics are
  4520.        used by some services and Bulletin Boards to enrich the display
  4521.        through screen formatting and colors.
  4522.  
  4523.  
  4524.        Beginning with Version 2.0 of this program, ANSI graphic software
  4525.        is entirely contained within COM-AND.  Any errors in implementa-
  4526.        tion must be addressed to this developer.  COM-AND implements the
  4527.        ANSI sequences as follows:
  4528.  
  4529.         ESC,'[#;#H'   CUP: Cursor position; 1st #=row, 2nd=col
  4530.         ESC,'[;#H'    CUP: Alternate cursor position to col
  4531.         ESC,'[#H'     CUP: Alternate cursor position to row
  4532.         ESC,'[H'      CUP: Alternate cursor position to home
  4533.         ESC,'[#;#f'   HVP: Horiz/Vert pos; 1st = row, 2nd = col
  4534.         ESC,'[;#f'    HVP: Alternate horiz/vert pos to col
  4535.         ESC,'[#f'     HVP: Alternate horiz/vert pos to row
  4536.         ESC,'[f'      HVP: Alternate horiz/vert pos to home
  4537.         ESC,'[#A'     CUU: Cursor Up # rows
  4538.         ESC,'[#B'     CUD: Cursor Down # rows
  4539.         ESC,'[#C'     CUF: Cursor Forward # cols
  4540.         ESC,'[#D'     CUB: Cursor Backward # cols
  4541.         ESC,'[6n'     DSR: Device status rpt (rtns CPR)
  4542.         ESC,'[#;#R'   CPR: Cursor position rpt (1st=row, 2nd=col)
  4543.         ESC,'[s'      SCP: Save cursor position
  4544.         ESC,'[u'      RCP: Restore cursor position
  4545.         ESC,'[#J'     ED: Erase display (# = 0,1,2)
  4546.         ESC,'[#K'     EL: Erase line (# = 0,1,2)
  4547.         ESC,'[&m'     SGR: Set graphics rendition (&-> #[;#...])
  4548.         ESC,'[=#h'    SM: Set mode
  4549.         ESC,'[?7h'    SM: Set wrap mode
  4550.         ESC,'[=#l'    RM: Reset mode
  4551.         ESC,'[?7l'    SM: Reset wrap mode
  4552.  
  4553.  
  4554.        The only sequence defined in ANSI.SYS (the device driver sup-
  4555.        plying ANSI emulation) not implemented in COM-AND is:
  4556.  
  4557.         Esc,'[...p'   KKR: Keyboard key redefinition.
  4558.  
  4559.        I am considering implementing this sequence, with a menu to sup-
  4560.        port it as a 'different' sort of Macro facility.  I'd like to hear
  4561.        comments from people reading this.
  4562.  
  4563.  
  4564. Version 2.9: 921203                           Appendices
  4565.  
  4566. COM-AND: IBM PC Communications and Accessories                 Page  79
  4567.  
  4568.  
  4569. E.    ANSI, VT100 and VT52 graphics (continued)
  4570.  
  4571.  
  4572.     1. ANSI sequences (continued)
  4573.  
  4574.        Under MS-DOS/PC-DOS, ANSI graphics are usually performed by the
  4575.        ANSI.SYS device driver.  Replacements for ANSI.SYS are available
  4576.        on all the systems and boards, offering increased functionality
  4577.        and additional utility.  For example, the FANSI device driver
  4578.        (sold by Hersey Micro Consulting) offers:
  4579.  
  4580.        .  improvements in screen display speed,
  4581.        .  considerably more control sequences than ANSI.SYS,
  4582.        .  DEC VT100 emulation (which therefore is available to you in
  4583.           COM-AND if you use FANSI and turn DOS screen on),
  4584.        .  a backscreen function which pages last-to-first,
  4585.        .  one finger typing,
  4586.        .  increased typeahead buffer size,
  4587.        .  and many many other functional enhancements
  4588.  
  4589.        The implementation of ANSI within COM-AND does not negate any of
  4590.        these features (except perhaps terminal emulation).
  4591.  
  4592.  
  4593.        In order to use ANSI.SYS or any of its replacements through COM-
  4594.        AND, you must have a device driver installed in your DOS.  Add
  4595.        the line:
  4596.  
  4597.           DEVICE=ANSI.SYS
  4598.  
  4599.        to the file CONFIG.SYS on the root directory of the boot disk,
  4600.        and reboot the PC (Ctl-Alt-Del).  If there is no file named
  4601.        CONFIG.SYS on the root directory of your boot disk, create one
  4602.        containing the line above (see also the note on DOS gateway), and
  4603.        then reboot.
  4604.  
  4605.  
  4606.        Other device drivers, such as FANSI mentioned above, have their
  4607.        own installation requirements.  Refer to the documentation for the
  4608.        device driver you wish to use for instructions.
  4609.  
  4610.  
  4611.        Once you've installed the ANSI device, you must turn COM-AND's
  4612.        ANSI and VIDTEX emulation off through the Alt-V menu.  You must
  4613.        also turn on 'DOS screen writes' through Alt-O.  With ANSI and
  4614.        VIDTEX off, and DOS on, all received text is routed through the
  4615.        ANSI device.
  4616.  
  4617.  
  4618.  
  4619. Version 2.9: 921203                           Appendices
  4620.  
  4621. COM-AND: IBM PC Communications and Accessories                 Page  80
  4622.  
  4623.  
  4624. E.    ANSI, VT100, and VT52 graphics (continued)
  4625.  
  4626.  
  4627.     2. VT100 sequences
  4628.  
  4629.        COM-AND performs a subset of VT100 escape sequences in display
  4630.        emulation.  Display emulation is available through the Alt-V
  4631.        option 'VT100' (or in a script, 'EMULATE VT100').
  4632.  
  4633.  
  4634.        The VT100 was originally created as an ANSI terminal.  The
  4635.        difference between COM-AND's VT100 and ANSI modes is minor.
  4636.        There are the following differences to the above ANSI sequences:
  4637.  
  4638.        o    Erase display does not position to home in VT100
  4639.        o    Erase line does not position to beginning of line in VT100
  4640.  
  4641.  
  4642.        In addition to the ANSI sequences above, COM-AND VT100 emulation
  4643.        also adds the following sequences:
  4644.  
  4645.         ESC,'[?2l'    Switch to VT52 mode
  4646.         ESC,'<'       VT52: Change to VT100 (redundant)
  4647.         ESC,'>'       Keypad numeric mode
  4648.         ESC,'='       Keypad application mode
  4649.         ESC,'7'       Save cursor and attributes
  4650.         ESC,'8'       Restore cursor and attributes
  4651.         ESC,'#3'      Set cursor line to DH DW top half (literal '#')
  4652.         ESC,'#4'      Set cursor line to DH DW bot half (literal '#')
  4653.         ESC,'#5'      Set cursor line to SH SW          (literal '#')
  4654.         ESC,'#6'      Set cursor line to SH DW          (literal '#')
  4655.         ESC,'#:'      Set cursor line to DH SW top half (literal '#')
  4656.         ESC,'#;'      Set cursor line to DH SW bot half (literal '#')
  4657.         ESC,'[#;#r'   Set scrolling region
  4658.         ESC,'[?#l'    Reset (parameter controls)
  4659.         ESC,'[?#h'    Set (parameter controls)
  4660.         ESC,'[>#l'    Reset (parameter controls)
  4661.         ESC,'[>#h'    Set (parameter controls)
  4662.         ESC,'[20l'    Reset LF to new ln (unused)
  4663.         ESC,'[20h'    Set new line mode (unused)
  4664.         ESC,'[#q'     LED controls (unused)
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674. Version 2.9: 921203                           Appendices
  4675.  
  4676. COM-AND: IBM PC Communications and Accessories                 Page  81
  4677.  
  4678.  
  4679. E.    ANSI, VT100, and VT52 graphics (continued)
  4680.  
  4681.  
  4682.     2. VT100 sequences (continued)
  4683.  
  4684.        COM-AND's VT100 emulation Displays from one of two character sets,
  4685.        designated G0 and G1 in VT100 nomenclature.    The identity of each
  4686.        set and the current controlling set is determined through the
  4687.        following sequences:
  4688.  
  4689.         ESC,')A'      Designate UK set as G1
  4690.         ESC,')B'      Designate ASCII set as G1
  4691.         ESC,')0'      Designate graphics set as G1
  4692.         ESC,')1'      Designate Alternate char set as G1
  4693.         ESC,')2'      Designate special graphics as G1
  4694.         ESC,'(A'      Designate UK set as G0
  4695.         ESC,'(B'      Designate ASCII set as G0
  4696.         ESC,'(0'      Designate graphics set as G0
  4697.         ESC,'(1'      Designate Alternate char set as G0
  4698.         ESC,'(2'      Designate special graphics as G0
  4699.         ESC,'D'       Move cursor down a line
  4700.         ESC,'E'       Move cursor down a line to col 0
  4701.         ESC,'M'       Move cursor up a line
  4702.         SI (15)       Shift in (use G0 char set)
  4703.         SO (14)       Shift out (use G1 char set)
  4704.  
  4705.        COM-AND implements the UK set identically to ASCII at this time.
  4706.        The graphics set, alternate set and special graphics sets use an
  4707.        approximation from the high order characters (128-255).
  4708.  
  4709.  
  4710.        Finally, COM-AND supports these inquiry sequences:
  4711.  
  4712.         ESC,Z          Report identity
  4713.         ESC,'c'       Report device attributes
  4714.         ESC,'0c'      Report device attributes
  4715.  
  4716.        The response to these three 'report' sequences above is the same
  4717.        in all cases:  VT100 without a printer (which is ESC,'[?1;2c').
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727.  
  4728.  
  4729. Version 2.9: 921203                           Appendices
  4730.  
  4731. COM-AND: IBM PC Communications and Accessories                 Page  82
  4732.  
  4733.  
  4734. E.    ANSI, VT100, and VT52 graphics (continued)
  4735.  
  4736.  
  4737.     3. VT52 sequences
  4738.  
  4739.        COM-AND is capable of accepting VT52 escape sequences as well.
  4740.        CIS in VIDTEX mode uses a mix of ANSI, and VT52 sequences to
  4741.        format the screen.
  4742.  
  4743.  
  4744.        Beginning with version 2.3 of this program, VT52 cursor control
  4745.        is available if the Alt-V option 'VT52' is enabled (or in a
  4746.        script, 'EMULATE VT52').  COM-AND implements the following VT52
  4747.        sequences:
  4748.  
  4749.         ESC,'A'       CUU: Cursor up
  4750.         ESC,'B'       CUD: Cursor down
  4751.         ESC,'C'       CUF: Cursor forward
  4752.         ESC,'D'       CUB: Cursor backward
  4753.         ESC,'H'       CUH: Cursor home
  4754.         ESC,'J'       ES:  Erase from cursor to end of screen
  4755.         ESC,'K'       EL:  Erase from cursor to end of line
  4756.         ESC,'Yrc'     CUP: Horiz/Vert pos; r= row+32, c= col+32
  4757.         ESC,'j'       CS:  Clear screen and home cursor
  4758.         ESC,'<'       VT100: Switch to VT100 mode
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.  
  4765.  
  4766.  
  4767.  
  4768.  
  4769.  
  4770.  
  4771.  
  4772.  
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784. Version 2.9: 921203                           Appendices
  4785.  
  4786. COM-AND: IBM PC Communications and Accessories                 Page  83
  4787.  
  4788.  
  4789. F.    Vidtex and RLE files
  4790.  
  4791.  
  4792.     1. Vidtex
  4793.  
  4794.        COM-AND emulates a 'VIDTEX' screen mode as an option.  Vidtex
  4795.        is a special service of CompuServe (CIS).  It is enabled:
  4796.  
  4797.        o    Alt-V (set VIDTEX screen mode ON), or
  4798.        o    script "SET ENQ CISB" or "EMULATE VIDTEX" statements
  4799.  
  4800.  
  4801.        Vidtex screen mode provides several features to the CIS user:
  4802.  
  4803.        o    Screen displays are formatted to appear 'full screen'.  If
  4804.         color is available, it is used.  The current screen size is
  4805.         known to CIS as well.
  4806.        o    File transfers are automatic.  CIS asks the name a file is to
  4807.         take on your machine, and then prompts COM-AND for the
  4808.         transfer.  PgDn and PgUp are not needed.
  4809.        o    RLE files are displayed automatically.
  4810.  
  4811.  
  4812.        There are several drawbacks to the VIDTEX screen mode, too:
  4813.  
  4814.        o    CIS assumes you are going to use B+ for file transfers.  It
  4815.         doesn't ask for alternatives.
  4816.        o    Alt-L screen size may not be toggled during a VIDTEX session.
  4817.         The screen size at the time of logon is reported to CIS, and
  4818.         there is no method (now) to report a change of size.
  4819.        o    Vidtex control sequences are captured (along with text) when
  4820.         transcripting.    These are easy to edit out, but distracting.
  4821.         Again,    VIDTEX can't be turned off easily during a session.
  4822.        o    Other systems may from time-to-time use the ENQ character for
  4823.         special functions.  You should ensure VIDTEX mode is 'off'
  4824.         when you use such a system.
  4825.  
  4826.  
  4827.        CIS inquires the capability of a communication program with the
  4828.        sequence: ESC,'I'.  COM-AND responds (in VIDTEX mode) with:
  4829.  
  4830.         #IBX,SSyx,AC/CA/CC,GH,GM,PB,DT,+<checksum>
  4831.  
  4832.        The SS parameter specifies screen size.  The AC/CA/CC choice is
  4833.        made according to whether color is set through Alt-J.
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839. Version 2.9: 921203                           Appendices
  4840.  
  4841. COM-AND: IBM PC Communications and Accessories                 Page  84
  4842.  
  4843.  
  4844. F.    Vidtex and RLE files (continued)
  4845.  
  4846.  
  4847.     2. RLE files
  4848.  
  4849.        Although created on CompuServe, RLE (run length encoded) graphics
  4850.        files have been popular for some time on the services and BBS's.
  4851.        One reason is because the format is not machine specific.  Most
  4852.        any flavor of PC having a graphics display may view and create
  4853.        graphics images in RLE format.
  4854.  
  4855.  
  4856.        The resolution is limited (256 horizontal pixels by 192 lines).
  4857.        RLE images are monochrome (although I know there are some people
  4858.        who've experimented with color information embedded in RLE
  4859.        files).  But RLE files do provide one medium of graphics exchange
  4860.        between differing personal computers.
  4861.  
  4862.  
  4863.        RLEs are encoded as 7 bit ASCII data.  Normally, an RLE file would
  4864.        be viewed through something like an ASCII download.    [PLINK, for
  4865.        one, had trouble with this.    It backscanned text lines, removing
  4866.        blanks.  This is death for an RLE graphics image.]
  4867.  
  4868.  
  4869.        COM-AND recognizes RLE control sequences when they are encountered
  4870.        in the stream of received text.  When COM-AND encounters an RLE
  4871.        sequence, it attempts to switch to graphics mode.  If successful,
  4872.        COM-AND then displays the image as it is received, and buffers the
  4873.        image in a temporary file.  Upon completion of the image, COM-AND
  4874.        prompts for a save file name.  You may ignore the save step, and
  4875.        throw away the picture in good conscience, as you now know what it
  4876.        shows.  Or you may of course opt to save it for later playback.
  4877.  
  4878.        You may disable this feature of COM-AND through the Alt-O options
  4879.        menu.
  4880.  
  4881.        ---------------------------------------------------------------
  4882.        CIS Users NOTE:  CIS 'tests' your terminal program each time you
  4883.        request an RLE viewing.  COM-AND responds to the test only if you
  4884.        have set emulation to 'VIDTEX' or used the equivalent script
  4885.        statement.
  4886.  
  4887.        If the option is not enabled, CIS tells you "Your terminal program
  4888.        is not equipped ...    do you wish to proceed?" If you answer "y",
  4889.        CIS sends the RLE file, and COM-AND displays it nicely.
  4890.  
  4891.  
  4892.  
  4893.  
  4894. Version 2.9: 921203                           Appendices
  4895.  
  4896. COM-AND: IBM PC Communications and Accessories                 Page  85
  4897.  
  4898.  
  4899. G.    External protocol drivers
  4900.  
  4901.  
  4902.     COM-AND supports external protocol drivers through its F1 (acces-
  4903.     sories) menu.  You may edit the entries in the F1 menu to load and
  4904.     execute just about any program you might wish (and have memory for).
  4905.     If you limit the F1 entries to simple script invocations, you may
  4906.     also use the script name through F2.
  4907.  
  4908.     For example, you might wish to replace COM-AND's ZMODEM or batch
  4909.     YMODEM.  You might do this with Chuck Forsberg's DSZ.COM program.
  4910.     DSZ is a module used within other comm programs to perform ZMODEM
  4911.     transfers (and X/Ymodem transfers too).  DSZ is revised quite often
  4912.     (to expand its function), and is available on most systems.
  4913.  
  4914.     For downloading purposes, no script is needed to invoke DSZ.  How-
  4915.     ever, as mentioned above, the F1 entry may be coded to use a script.
  4916.     This permits the same script to be manually invoked through F2, too.
  4917.     The file name used for the downloaded file is determined by the
  4918.     sender.  Revise an F1 entry (with the 'r' subcommand) as follows:
  4919.  
  4920.         Name:        Download using YMODEM
  4921.         Subdirectory:    (whatever subdirectory your DSZ occupies)
  4922.         Program:        (leave this field blank)
  4923.         Script:        DSZDOWN.CMD
  4924.  
  4925.     The script DSZDOWN.CMD might be written:
  4926.     ------------------------------------------------------------------
  4927.     COMPARMS S1        ; read current settings
  4928.     S2 =  "DSZ.COM port " * S1(14:14) * " rb " ; Ask for YMODEM rcv
  4929.     RUN S2            ; Load and run DSZ
  4930.     ------------------------------------------------------------------
  4931.     Note: change " rb " to " rz " for ZMODEM
  4932.     ------------------------------------------------------------------
  4933.  
  4934.     DSZ requires a file name for uploading.  You accomplish this by
  4935.     editing the F1 menu as follows, and creating a script.
  4936.  
  4937.         Name:        Upload using YMODEM
  4938.         Subdirectory:    (whatever subdirectory DSZ/DSZUP occupies)
  4939.         Program:        (leave this field blank)
  4940.         Script:        DSZUP.CMD
  4941.  
  4942.     An example script DSZUP.CMD follows on the next page.
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949. Version 2.9: 921203                           Appendices
  4950.  
  4951. COM-AND: IBM PC Communications and Accessories                 Page  86
  4952.  
  4953.  
  4954. G.    External protocol drivers (continued)
  4955.  
  4956.  
  4957.     The script DSZUP.CMD might be written:
  4958.     ------------------------------------------------------------------
  4959.     MESSAGE "^MEnter the upload file name: "
  4960.     GET S0            ; Read keyboard
  4961.     COMPARMS S1        ; read current settings
  4962.     S2 =  "DSZ.COM port " * S1(14:14) * " sb " * S0 ; ask for YMODEM
  4963.     sb" RUN S2                  ; Load and run DSZ
  4964.     ------------------------------------------------------------------
  4965.     Note: change " sb " to " sz " for ZMODEM
  4966.     ------------------------------------------------------------------
  4967.  
  4968.  
  4969.     DSZ defaults to COM1 and the current COM1 rate.  The above scripts
  4970.     adjust for the comm port you're using.  The above scripts (or better)
  4971.     are included in the scripts archive file released with COM-AND.
  4972.  
  4973.  
  4974.     NOTE: DSZ is user supported.  If you use it, please register it!
  4975.     DSZ may be found on most bulletin boards, and on every major system.
  4976.     Registration information is provided with every release of DSZ.
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004. Version 2.9: 921203                           Appendices
  5005.  
  5006. COM-AND: IBM PC Communications and Accessories                 Page  87
  5007.  
  5008.  
  5009. H.    Modem Configuration
  5010.  
  5011.  
  5012.     COM-AND default values do not require a modem pre-configuration
  5013.     (although you may set it up that way).    However, certain features
  5014.     cannot be used unless you configure your modem before you use
  5015.     COM-AND.
  5016.  
  5017.  
  5018.     1. DTR (Data Terminal Ready)
  5019.  
  5020.        COM-AND, by default, hangs up using the command sequences defined
  5021.        through the Alt-S setup (hangup and modem escape).  However, you
  5022.        may alternately select 'Drop DTR to hangup' through the Alt-O
  5023.        options.  Dropping DTR is the only way to hangup certain modems,
  5024.        and is generally much faster than the command sequences.
  5025.  
  5026.        Most Hayes compatible modems allow configuration of the DTR sense
  5027.        through a switch-block.  If you wish to use DTR to hangup, be sure
  5028.        your modem follows the DTR signal.  Refer to the documentation
  5029.        provided with your modem to ensure that option switches are set
  5030.        appropriately.
  5031.  
  5032.  
  5033.     2. CD (Carrier Detect)
  5034.  
  5035.        COM-AND (presently) uses the CD sense line for several purposes.
  5036.        The 'CONNECTED' test supported in the script language, test for
  5037.        carrier detect upon exit, and the file transfer protocols all
  5038.        require the modem report carrier detect.  True carrier detect is
  5039.        the only way to determine if you are 'on-line' or 'off-line'.
  5040.  
  5041.        Many Hayes compatible modems are sold with a carrier detect
  5042.        override (in other words the modem reports carrier detect all the
  5043.        time).  When carrier detect is overridden, COM-AND cannot detect
  5044.        when carrier is lost during a file transfer or whether to ask if
  5045.        you want to hangup when you exit to DOS.
  5046.  
  5047.        Be sure the modem is reporting true CD (instead of it just saying
  5048.        'yes').  Most Hayes compatible modems allow configuration of the
  5049.        CD sense through a switch-block.  Refer to the documentation
  5050.        provided with your modem to ensure that option switches are set
  5051.        appropriately.
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059. Version 2.9: 921203                           Appendices
  5060.  
  5061. COM-AND: IBM PC Communications and Accessories                 Page  88
  5062.  
  5063.  
  5064. I.    Environment variables
  5065.  
  5066.  
  5067.     COM-AND uses environment variables to default files names.  Two
  5068.     environment variables are relevant to COM-AND.    The "COM-AND='
  5069.     environment variable specifies a default path for certain file names,
  5070.     and "COMSPEC=" specifies the shell program name.
  5071.  
  5072.  
  5073.     1. COM-AND=
  5074.  
  5075.        COM-AND searches the current subdirectory and then the subdirec-
  5076.        tory indicated by the environment variable "COM-AND=" (if present)
  5077.        for the following files:
  5078.  
  5079.        . COM-AND.DFT    (Default settings and values)
  5080.        . COM-AND.DIR    (Dialing directory)
  5081.        . COM-AND.MAC    (Macro definitions)
  5082.        . COM-AND.ACC    (Accessory definitions)
  5083.        . COM-AND.RMP    (Remap definition)
  5084.        . COM-AND.XLT    (Translate tables)
  5085.  
  5086.  
  5087.        COM-AND also uses this environment variable searching for script
  5088.        file names.    However, script files are also searched using (a) the
  5089.        supplied extension, (b) the extension ".CMD" and (c) the extension
  5090.        ".ENF" (for encrypted files).  So, the search for script files is
  5091.        a little bit longer than the search for the above files.
  5092.  
  5093.  
  5094.        COM-AND accessories use the "COM-AND=" environment variable to
  5095.        find COM-AND.EXE when they are loaded without COM-AND.  For this
  5096.        reason we recommended COM-AND.EXE be in that subdirectory.
  5097.  
  5098.  
  5099.        Refer to your DOS manual (the SET command) for information about
  5100.        environment variables and how to create them.  As an example, you
  5101.        might place COM-AND in the C:\COM-AND subdirectory.    You should
  5102.        then add the following line to your c:\AUTOEXEC.BAT file:
  5103.  
  5104.                  SET COM-AND=C:\COM-AND
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114. Version 2.9: 921203                           Appendices
  5115.  
  5116. COM-AND: IBM PC Communications and Accessories                 Page  89
  5117.  
  5118.  
  5119. I.    Environment variables (continued)
  5120.  
  5121.  
  5122.     2. COMSPEC=
  5123.  
  5124.  
  5125.        COM-AND uses the environment variable "COMSPEC=" to identify the
  5126.        shell program to use when Alt-F10'ing or executing the SHELL
  5127.        script command.  This environment variable is already set in most
  5128.        installations.
  5129.  
  5130.  
  5131.     3. Other variables
  5132.  
  5133.  
  5134.        COM-AND's script language allows access to environment variables
  5135.        through the ENVIRON statement.  Scripts written for COM-AND may
  5136.        therefore be sensitive to environment variables.
  5137.  
  5138.        The script statement "EBL" and EBLSET" look for a 'BATINT='
  5139.        environment variable to set the (hex) interrupt number for EBL.
  5140.  
  5141.  
  5142.  
  5143.  
  5144.  
  5145.  
  5146.  
  5147.  
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169. Version 2.9: 921203                           Appendices
  5170.  
  5171. COM-AND: IBM PC Communications and Accessories                 Page  90
  5172.  
  5173.  
  5174. J.    Background operation
  5175.  
  5176.  
  5177.     COM-AND may be used as a background process with several of the
  5178.     available multi-tasking operating environments.  In particular,
  5179.     file transfers are buffered, and send is interrupt driven to
  5180.     provide maximum efficiency when used as a background processor
  5181.     (which of course means more efficiency in foreground mode, too).
  5182.  
  5183.  
  5184.     COM-AND has been made 'shadow-buffer' aware... if an operating
  5185.     environment such as DesqView or Windows establishes a shadow-buffer
  5186.     for the screen, COM-AND uses it.  Thus, you do not need to flag COM-
  5187.     AND as "writing directly to the screen" under such environments.
  5188.  
  5189.  
  5190.     The only exception to this is RLE displays in interactive mode (RLE
  5191.     displays are inhibited during the script processor).  RLE displays
  5192.     switch the screen from text to graphics modes; during RLE display
  5193.     all access to the screen is performed using BIOS write-pixel calls
  5194.     However, you should turn RLE displays off (through Alt-O) if you
  5195.     plan on using COM-AND regularly in background mode, and view RLEs.
  5196.  
  5197.  
  5198.     The distribution of COM-AND includes a PIF and ICO (icon) file for
  5199.     Windows and a DVP file for DesqView.
  5200.  
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206.  
  5207.  
  5208.  
  5209.  
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224. Version 2.9: 921203                           Appendices
  5225.  
  5226. COM-AND: IBM PC Communications and Accessories                 Page  91
  5227.  
  5228.  
  5229. K.    Encoded music
  5230.  
  5231.  
  5232.     Beginning with version 2.3, COM-AND uses encoded music strings for
  5233.     several different purposes:
  5234.  
  5235.     .  If the file COM-AND.TUN exists on the default drive:subdirectory
  5236.        (or on the COM-AND= drive:subdirectory), and it contains a valid
  5237.        encoded music string (up to 40 notes), COM-AND uses the encoded
  5238.        string for its alarm.
  5239.  
  5240.     .  The alarm tune may be changed with a "SET TUNE" command through
  5241.        a script file.  The new alarm tune holds until it is changed,
  5242.        or until COM-AND is terminated.
  5243.  
  5244.     .  A script may PLAY an encoded music string during its execution
  5245.        (up to 80 notes).
  5246.  
  5247.     .  An escape sequence to play music has been implemented (for some
  5248.        RBBS boards).  The escape sequence is "ESC [M <music string> ^N"
  5249.        allowing up to 255 characters for the <music string>.
  5250.  
  5251.  
  5252.     The script ALARM.CMD is included with this release.  ALARM contains
  5253.     a number of simple melodies to substitute for the default alarm
  5254.     tune.  The ALARM script allows you to sample the tunes, and one may
  5255.     be selected permanently (if it doesn't hurt the ear...).  Permanent
  5256.     selection means the script creates a file, COM-AND.TUN which is then
  5257.     used by COM-AND every time it is loaded.
  5258.  
  5259.  
  5260.     Syntax for music statements may be found in an appendix to the
  5261.     CASCRIPT.DOC document.    The interested reader is referred there.
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279. Version 2.9: 921203                           Appendices
  5280.  
  5281. COM-AND: IBM PC Communications and Accessories                 Page  92
  5282.  
  5283.  
  5284. L.    BIOS Comm Read/Write
  5285.  
  5286.  
  5287.     Beginning with version 2.3 of COM-AND, BIOS read/write comm port
  5288.     calls are intercepted by COM-AND.  When the port number matches
  5289.     the comm port currently opened by COM-AND, COM-AND makes available
  5290.     its interrupt driven read/write procedures.  Only read/write
  5291.     are supported.    Open calls (change parameters) and status calls
  5292.     are stubbed.
  5293.  
  5294.  
  5295.     COM-AND's interception of BIOS comm port calls opens some doors for
  5296.     the wary.  For example, the following script is useful:
  5297.  
  5298.         KFLUSH            ; Clear the keyboard buffer
  5299.         STACK "CTTY COM2:!"     ; Stack a cmd for DOS
  5300.         SHELL            ; Shell-to-DOS
  5301.  
  5302.     After the shell-to-DOS, DOS functions are available through the comm
  5303.     port.  If COM-AND had previously established a connection through the
  5304.     modem (dialed another PC, or used the CONNECT script to answer the
  5305.     phone), then DOS would be available to the caller!  [Note: only very
  5306.     well-behaved programs may be used through this link.  A program
  5307.     writing to screen memory or intercepting keyboard interrupts IS NOT
  5308.     available, and IS difficult to terminate remotely.]
  5309.  
  5310.  
  5311.     Programs written for no more communications support than that pro-
  5312.     vided by BIOS may use COM-AND's communications, and act as acces-
  5313.     sories.  Such programs, when loaded through the accessory menu (or
  5314.     DOS Gateway) take advantage of COM-AND's communication support (and
  5315.     XON/XOFF flow control).
  5316.  
  5317.  
  5318.     The author would be interested in hearing of any applications
  5319.     developed to use this feature, and would be interested in discussing
  5320.     its future refinement.
  5321.  
  5322.  
  5323.  
  5324.  
  5325.  
  5326.  
  5327.  
  5328.  
  5329.  
  5330.  
  5331.  
  5332.  
  5333.  
  5334. Version 2.9: 921203                           Appendices
  5335.  
  5336. COM-AND: IBM PC Communications and Accessories                 Page  93
  5337.  
  5338.  
  5339. M.    Modem initialization
  5340.  
  5341.  
  5342.     COMMON MODEM PARAMETER INITIALIZATION VALUES for USE WITH COM-AND
  5343.     and OTHER COMMON COMMUNICATIONS PROGRAMS,     by Jim Aspinwall
  5344.     -----------------------------------------------------------------
  5345.  
  5346.     As a user of computer modems and communications software, you should
  5347.     be aware of several matters affecting your modem, your software, and
  5348.     successful on-line operation.
  5349.  
  5350.     It seems most common problems we have encountered have to do with
  5351.     how or if the modem reports back on the status of the Carrier Detect
  5352.     (DCD or CD) signal.  CD reports whether or not you are on-line; in
  5353.     other words, connected.  Another problem frequently encountered is
  5354.     how the modem responds to the Data Terminal Ready (DTR) signal from
  5355.     the terminal or PC.
  5356.  
  5357.     In many cases the modems we use have default or factory configura-
  5358.     tions that cause DCD to indicate that you are on-line at all times,
  5359.     even if there has been no connection made; and the modem acts like
  5360.     the terminal or software is active all of the time.
  5361.  
  5362.     This setting does not always prohibit proper communications, but
  5363.     it does make some operations inefficient, or causes inaccurate error
  5364.     messages.  Setting these and other parameters to the values we have
  5365.     shown below, or equivalent values specific to your modem, have
  5366.     resulted in successful on-line operations for a great many users.
  5367.  
  5368.     You must also correlate some of the modem values to corresponding
  5369.     values in your communications software.  One value of particular
  5370.     note is the modem's S7 register.  The value in this register sets
  5371.     how long the modem waits for a carrier after dialing a call.  Most
  5372.     modems use 40 seconds as a default.  It is likely your communica-
  5373.     tions software also provides a Wait-For-Carrier parameter for its
  5374.     operation.
  5375.  
  5376.     If these two values are different, you may get unexpected results in
  5377.     originating calls.  Either the modem hangs-up before the call is
  5378.     established while the software is still waiting, or the software
  5379.     aborts the call origination before enough time has elapsed.  Setting
  5380.     the parameter at the modem S7 register does not set the value in
  5381.     your software, and setting the value in the software does not reset
  5382.     it for the modem.  There are a few other parameters exhibiting this
  5383.     difference, so you should read the modem and software documentation
  5384.     carefully.
  5385.  
  5386.  
  5387.  
  5388.  
  5389. Version 2.9: 921203                           Appendices
  5390.  
  5391. COM-AND: IBM PC Communications and Accessories                 Page  94
  5392.  
  5393.  
  5394. M.    Modem initialization (continued)
  5395.  
  5396.  
  5397.     As annoying as it may seem to issue YET ANOTHER reminder about docu-
  5398.     mentation, it IS very helpful to read through it all, even if you
  5399.     think you do not understand or need it all, at first.  Once you are
  5400.     familiar with 'what' information is 'where', you are more able to
  5401.     recognize problems and their solutions as they arise.  Many veteran
  5402.     users are pleasantly surprised
  5403.  
  5404.  
  5405.     Product R&D Corp.: (per Charlie)
  5406.     -----------------
  5407.       AT&C1S7=60S11=40V1X1
  5408.  
  5409.  
  5410.     MICROCOM 9624c: (per Mike, modified 891103)
  5411.     --------------
  5412.       Modem Init:    ATE1\C1\G0\J1\K5\N3\Q0&T5\V1V1\X1S0=0^M
  5413.       Dial Command: AT\N3DT
  5414.  
  5415.       Alt-P:    9600,N,8,1,COM1
  5416.       Alt-O:    Keyboard=ON
  5417.             Drop DTR=ON
  5418.       Alt-S:    Break Delay=250 ms
  5419.             Alarm Duration=3 sec
  5420.  
  5421.  
  5422.     Everex 2400 internal (older style?): (per Jim)
  5423.     -----------------------------------
  5424.       Switches 1 and 2;    as appropriate for COM 1,2,3 or 4
  5425.       Switches 3,4,5;    OFF (default)
  5426.       String = AT&D2S7=60^M (the &D2 sets proper DTR, can also be done
  5427.                 with S21=48 or S21=112 (default=96))
  5428.  
  5429.  
  5430.     Leading Edge 2400B half-size internal: (per Jim)
  5431.     -------------------------------------
  5432.       Switches 1 and 2;    COM 1,2,3,4 selection
  5433.       Switches 3,4,5,6;    OFF (default)
  5434.       String = ATS7=60X3^M (there are no &... settings and no S21, DCD
  5435.                    and DTR are set by switches)
  5436.  
  5437.  
  5438.     Practical Peripherals 2400 half-size internal: (per Jim)
  5439.     ---------------------------------------------
  5440.       Switch on rear selects COM 1 or 2
  5441.       String = AT&C1&D2L0X3^M  (S21=117 is another way of doing &C1&D2)
  5442.  
  5443.  
  5444. Version 2.9: 921203                           Appendices
  5445.  
  5446. COM-AND: IBM PC Communications and Accessories                 Page  95
  5447.  
  5448.  
  5449. M.    Modem initialization (continued)
  5450.  
  5451.  
  5452.     Everex, Evercom 24+ (MNP): (per Mike)
  5453.     -------------------------
  5454.       Modem INIT string:  AT\N3\Q1\K5\V1\X1\C1^M
  5455.       Dialing Prefix:     AT\N3DT (\N3 forces the modem to MNP)
  5456.       Break Delay:          250 ms
  5457.       Drop DTR on Hangup: ON
  5458.  
  5459.  
  5460.     Ven-Tel Pathfinder 18k: (per Jim)
  5461.     ----------------------
  5462.       Init String: ATS0=0S7=60S51=5S52=1S53=1S58=2S66=1S95=2&W^M
  5463.  
  5464.       AutoAnswer Off/Wait 60secs for carrier/Serial Port at 19,200
  5465.       DTR active/DCD active/Hardware handshake/Lock Serial Port/Auto MNP
  5466.  
  5467.       With these settings set into the modem and written (&W) once the
  5468.       user can recall them (INIT) using AT&E^M, instead of the entire
  5469.       string. It is handy to place this string in a comm. program macro
  5470.       for later use, should the modem get reset to factory values or
  5471.       other events change the desired settings.
  5472.  
  5473.       FACTORY   Jim's     Function and Notes
  5474.       DEFAULT   Usage     about settings
  5475.       -------   -----     ------------------
  5476.       S0=1        S0=0      This depends on ORIG/ANSWER side
  5477.       S7=40     S7=60     Longer for some calls/systems...
  5478.       S45=0     S45=0     Keep disabled (0) for secure/support operations
  5479.       S50=0     S50=0     Auto-speed (starts high, allows other uses)
  5480.       S51=4     S51=5     19,200 VS. 9600 SERIAL LINE
  5481.       S52=0     S52=1     DTR must be active...
  5482.       S53=0     S53=1     DCD must be active...
  5483.       S58=3     S58=2     Hardware handshake is faster
  5484.       S61=45    S61=0-255 Speaker volume, =<45 is best.
  5485.       S66=0     S66=1     Lock serial speed, flow control
  5486.       S95=0     S95=2     Auto-reliable MNP mode
  5487.       S110=255  S110=255  Compression depends on other side
  5488.             S110=1    To control remote's compression ON
  5489.       S111=255  S111=255  Protocol depends on other side
  5490.             S111=10   KERMIT 8,n,1
  5491.             S111=20   XMODEM
  5492.             S111=30   UUCP
  5493.  
  5494.       Note : Only these settings need to be changed and re-written
  5495.       to the EEPROM (with &W) vs. factory defaults. ATZ recalls all
  5496.       parameters to Factory defaults. AT&E recalls EEPROM values.
  5497.  
  5498.  
  5499. Version 2.9: 921203                           Appendices
  5500.  
  5501. COM-AND: IBM PC Communications and Accessories                 Page  96
  5502.  
  5503.  
  5504. N.    COM-AND's Backscreen
  5505.  
  5506.  
  5507.     Beginning with COM-AND 2.8, the backscreen function performs its task
  5508.     as customers have asked.  This was a major modification to COM-AND's
  5509.     backscreen function, and has several ramifications:
  5510.  
  5511.  
  5512.     o    Previously released accessories no longer perform backscreen
  5513.         functions with COM-AND 2.8.  [New versions of popular acces-
  5514.         sories will be released, supporting the new function.]
  5515.  
  5516.     o    The backscreen-to-transcript function now does not save the
  5517.         exact text received... rather it saves the formatted screen
  5518.         lines to the transcript.
  5519.  
  5520.         If a display emulation is used, not necessarily all the
  5521.         received text is written to the transcript.  The backscreen
  5522.         no longer captures cursor positioning commands received.
  5523.  
  5524.         Should it be necessary to capture exactly what was sent,
  5525.         ASCII receive (though limiting) is the only way to do it.
  5526.  
  5527.  
  5528.     The new backscreen is faster than before.  Considerably.  The author
  5529.     hopes it meets the approval of those who requested it.
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554. Version 2.9: 921203                           Appendices
  5555.  
  5556. COM-AND: IBM PC Communications and Accessories                 Page  97
  5557.  
  5558.  
  5559. O.    Customizing COM-AND
  5560.  
  5561.  
  5562.     Several methods are immediately available to customize COM-AND for
  5563.     particular purposes.  Some script authorship is required, but the
  5564.     result a communications program tailored to an exact application.
  5565.     Beyond customization of the existing COM-AND product, other custom-
  5566.     izations are possible and negotiable.
  5567.  
  5568.  
  5569.     1) COM-AND initialization
  5570.  
  5571.        When COM-AND is loaded, it performs an initialization process
  5572.        (opening the comm port, sending an init string, opening files, and
  5573.        so on).  After initialization, a shareware advertisement is dis-
  5574.        played (unless turned off in Alt-O).  After the advert, if a
  5575.        script named COM-AND.CMD is found in the current default subdirec-
  5576.        tory OR the "COM-AND=" environment variable indicated subdirec-
  5577.        tory, it is executed.
  5578.  
  5579.        A simple COM-AND.CMD script may be created to display an opening
  5580.        screen, set options and values to your preference, and to offer an
  5581.        initial menu.  For example, a menu might be offered making func-
  5582.        tion key F1 dial a certain number, function key F3 enter COM-AND
  5583.        proper and function key F5 exit COM-AND back to DOS.
  5584.  
  5585.  
  5586.     2) COM-AND termination
  5587.  
  5588.        When COM-AND is terminated (either by Alt-X or through the script
  5589.        statement "BYE"), COM-AND tests for carrier (may be turned off by
  5590.        Alt-O or "SET CDRESPECT OFF").  If carrier is found (if tested),
  5591.        a prompt for hangup is issued.  After the carrier test, COM-AND
  5592.        tests to determine if an "exit script" has been defined.  If an
  5593.        exit script has been named, COM-AND attempts to execute it.
  5594.  
  5595.        Exit scripts are defined through the script statement "SET EXIT".
  5596.        If the indicated file does not exist, COM-AND terminates.  If the
  5597.        indicated file exists, COM-AND executes it as a script.
  5598.  
  5599.        Upon Alt-X then, COM-AND may be customized to provide a menu of
  5600.        choices (e.g. dial another system, and a list of systems).  When
  5601.        established, the exit script determines if COM-AND is actually to
  5602.        terminate, or to continue.
  5603.  
  5604.  
  5605.  
  5606.  
  5607.  
  5608.  
  5609. Version 2.9: 921203                           Appendices
  5610.  
  5611. COM-AND: IBM PC Communications and Accessories                 Page  98
  5612.  
  5613.  
  5614. O.    Customizing COM-AND (continued)
  5615.  
  5616.  
  5617.     3) DOS after COM-AND
  5618.  
  5619.        An interesting feature of COM-AND's script language is the
  5620.        statement "STACK".  STACK places a string into the BIOS keyboard
  5621.        buffer.  An exit script might offer a menu of selections to
  5622.        invoke other programs through DOS.  For example, the script:
  5623.  
  5624.         SET TTHRU OFF        ; Turn off script typethrough
  5625.         STACK "DIR *.*!"        ; Set-up to execute a DOS DIR cmd
  5626.         BYE            ; Terminate com-and and do a DIR
  5627.  
  5628.        terminates COM-AND (without hanging up... be careful), and
  5629.        executes a DIR *.* through DOS.  More interesting things might
  5630.        be found, I'm sure, to do with DOS.... but the point is made.
  5631.  
  5632.        The DOORWAY script included with COM-AND actually creates a BAT
  5633.        file, STACKs the BAT file invocation, and terminates COM-AND as
  5634.        above.  The BAT file takes over, and loads DOORWAY.    When DOORWAY
  5635.        ends, the BAT file reloads COM-AND!    Throughout the COM-AND ->
  5636.        BATfile -> DOORWAY -> COM-AND sequence, carrier is unchanged.
  5637.  
  5638.     4) Keyboard remapping
  5639.  
  5640.        COM-AND maps the Alt'd and function keys on the PC keyboard in a
  5641.        manner consistent with (the author's experience of) common usage.
  5642.        Other maps for the PC keyboard may well be imagined.  The keyboard
  5643.        remap function (available through the REMAP.CMD script) allows
  5644.        you to determine key usage yourself.
  5645.  
  5646.        As the simplest example, COM-AND's F10 help window might be con-
  5647.        sidered inadequate (the author thinks it is...).  To change this
  5648.        sad state of affairs, the following remap might be created:
  5649.  
  5650.         F10 = 255 "HELP" CR
  5651.  
  5652.        This remap says in effect:  When the F10 key is pressed, COM-AND
  5653.        sees the character with value 255, the characters "H" "E" "L" and
  5654.        "P", and a CR.  255 as a character is documented above under Alt-M
  5655.        (Macros).  The character 255 in COM-AND has the same function as
  5656.        F2 (run a script), but does not pop up a window.  "HELP" would be
  5657.        interpreted by the 255 function as a script name (either HELP.,
  5658.        HELP.CMD or HELP.ENF on the default or COM-AND= subdirectory).
  5659.        The CR causes the 255 function to execute the script named HELP.
  5660.  
  5661.  
  5662.  
  5663.  
  5664. Version 2.9: 921203                           Appendices
  5665.  
  5666. COM-AND: IBM PC Communications and Accessories                 Page  99
  5667.  
  5668.  
  5669. O.    Customizing COM-AND (continued)
  5670.  
  5671.  
  5672.     4) Keyboard remapping (continued)
  5673.  
  5674.        So...  you might write your own help window (see the help screens
  5675.        in FILEMGR or LEARN), call it HELP.CMD, put it in the COM-AND=
  5676.        subdirectory, and never see this author's idea of a HELP summary
  5677.        again.  It might be paginated, indexed, what-have-you.
  5678.  
  5679.  
  5680.     5) Functional customization
  5681.  
  5682.        The author of COM-AND will happily customize a version of COM-AND
  5683.        for anyone licensing 30 or more copies of COM-AND (site license).
  5684.        This customization is limited to:
  5685.  
  5686.        .    Alt-I Information screen:  10 lines of the program informa-
  5687.         tion screen are devoted to a description of COM-AND and its
  5688.         accessories in the 'standard' edition.  CABER Software will
  5689.         encode any information a licensee (meeting the quantity
  5690.         restriction) requests in this space.  CABER Software retains
  5691.         the last lines of the window for itself.
  5692.  
  5693.        .    Copyright statement upon termination: CABER software will
  5694.         change the program termination notice from:
  5695.  
  5696.             "Freely redistributable; R. Scott McGinnis <date>"
  5697.  
  5698.         to  "Licensed from CABER Software (all rights reserved),
  5699.              <date>, by: <licensee name>"
  5700.  
  5701.        .    Customization is limited to the current version of COM-AND.
  5702.         The same customization, applied to later releases of COM-AND
  5703.         may be had from CABER Software upon request, for a fee of
  5704.         $15.00 each release.  CABER Software does not automatically
  5705.         issue updated customized versions.
  5706.  
  5707.  
  5708.        Other functional customizations are negotiable.
  5709.  
  5710.  
  5711.  
  5712.  
  5713.  
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719. Version 2.9: 921203                           Appendices
  5720.  
  5721. COM-AND: IBM PC Communications and Accessories                 Page 100
  5722.  
  5723.  
  5724. P.    BIOS (INT 14h) communications
  5725.  
  5726.  
  5727.     With version 2.7, COM-AND may be directed to invoke BIOS services for
  5728.     communications.  Communications programs, per se, exist in large part
  5729.     BECAUSE of the BIOS comm service routines...  what BIOS provided in
  5730.     the early days of the PC was generally useless; to perform communica-
  5731.     tions work, one wrote one's own.
  5732.  
  5733.  
  5734.     However, at this date, it is becoming common for LAN modem servers
  5735.     and special purpose communications gear to 'take over' the BIOS ser-
  5736.     vice routines, and replace them with special code.  COM-AND now pro-
  5737.     vides the capability to override its own communications driver (in-
  5738.     ternal) and be directed to use the BIOS service routines instead.
  5739.  
  5740.  
  5741.     Due to the nature of the original BIOS service call definitions,
  5742.     certain COM-AND functions are disabled or ignored when COM-AND is
  5743.     directed to invoke BIOS for communications.
  5744.  
  5745.     .    When COM-AND is run /p, the Alt-P value (script COMPARM)
  5746.         shown for the 'current setting' only reflects the default
  5747.         set for COM-AND.  BIOS doesn't read back settings.
  5748.  
  5749.     .    True break is disabled (Ctl-End).  The original BIOS has
  5750.         no facility to perform true break.
  5751.  
  5752.     .    DROP DTR is ignored even if set.  Some versions of BIOS
  5753.         do and some don't allow access to DTR.
  5754.  
  5755.     .    RTS Flow control is ignored even if set, for the same
  5756.         reason as DROP DTR is ignored.
  5757.  
  5758.  
  5759.     This modification is not intended for use with BIOS proper, although
  5760.     it can be (at 300 bps).  BIOS proper does not provide an interrupt
  5761.     service routine; therefore, the comm port must be 'sampled' to find
  5762.     if a character has been received.  At 300 bps, with a fast CPU, BIOS
  5763.     sampling is possible.  At 1200 bps, even with a 16Mhz machine,
  5764.     characters are dropped.
  5765.  
  5766.  
  5767.  
  5768.  
  5769.  
  5770.  
  5771.  
  5772.  
  5773.  
  5774. Version 2.9: 921203                           Appendices
  5775.  
  5776. COM-AND: IBM PC Communications and Accessories                 Page 101
  5777.  
  5778.  
  5779. P.    BIOS (INT 14h) communications (continued)
  5780.  
  5781.  
  5782.     To direct COM-AND to use BIOS communications, run COM-AND:
  5783.  
  5784.         "d>" COM-AND BIOS <other switches and parameters>
  5785.  
  5786.  
  5787.     COM-AND's BIOS redirection is only partially dependant on the current
  5788.     port set in COM-AND.  When BIOS redirection is used, COM-AND places
  5789.     the base address for the current port (declared through Alt-P) in the
  5790.     appropriate BIOS parameter area (it restores the previous value when
  5791.     COM-AND exits).  This overrides default BIOS base addresses, if the
  5792.     INT 14h service routine uses the BIOS parameter area.
  5793.  
  5794.  
  5795.     However, when COM-AND invokes service through the BIOS INT 14h, it
  5796.     does not pass a base address; a port number (0,1,2,3 representing
  5797.     COM1 through COM4) is passed.  The port number passed is the port for
  5798.     the currently selected COM port (e.g.  0 for COM1, 1 for COM2) unless
  5799.     a port number override is specified in COM-AND's run command.
  5800.  
  5801.  
  5802.     To override the port number passed to the INT 14h service routine
  5803.     (i.e. pass a number larger than 3), run COM-AND thusly:
  5804.  
  5805.         "d>" COM-AND BIOS(5) <other switches and parameters>
  5806.  
  5807.  
  5808.     The port number following the BIOS keyword is then passed to INT 14h
  5809.     on all calls.  The port number MUST be encased in parentheses.
  5810.  
  5811.  
  5812.     When BIOS redirection is used, COM-AND does NOT replace the INT 14h
  5813.     BIOS service routines with its own driver.  COM-AND simply uses the
  5814.     service routines provided.
  5815.  
  5816.  
  5817.  
  5818.  
  5819.  
  5820.  
  5821.  
  5822.  
  5823.  
  5824.  
  5825.  
  5826.  
  5827.  
  5828.  
  5829. Version 2.9: 921203                           Appendices
  5830.  
  5831. COM-AND: IBM PC Communications and Accessories                 Page 102
  5832.  
  5833.  
  5834. P.    16550A(N) UARTs
  5835.  
  5836.  
  5837.     A UART is the 40 pin chip in the serial board.    UART means Universal
  5838.     Asynchronous Receiver Transmitter.  The UART chip converts an 8 bit
  5839.     byte from parallel to serial, sending, and from serial to parallel,
  5840.     receiving.  This is the electronic base for serial communications.
  5841.  
  5842.     The original UART used in PCs was the 8250.  This was (relatively)
  5843.     slow, but adequate for the 4.77 Mhz bus speed of the PC and XT.  With
  5844.     the 8 Mhz bus speed of the AT, a faster chip was needed.  The 16450
  5845.     was used.  The 8250 and 16450 chips are functionally identical, and
  5846.     are pin compatible.  However, many AT computers STILL come with an
  5847.     8250 UART on their serial port.
  5848.  
  5849.     To gain maximum efficiency from certain modems, the serial port is
  5850.     set fixed to 19,200 bps.  Most bare PCs are able to keep up with
  5851.     that speed.  However, expansion boards such as (some) disk control-
  5852.     lers, and (some) Network Interface Cards tie up the machine for
  5853.     (relatively) long intervals of time.  When interrupts are suppressed
  5854.     for more than one character time (1/1920th of a second at 19,200
  5855.     bps) a character coming in through the serial port is lost.  [With a
  5856.     2400 bps modem, there is 1/240th of a second between characters.
  5857.     [Much more lee-way!] At 19,200 bps, many problems became apparent.
  5858.  
  5859.     For these newer modems a new UART is needed to buffer characters
  5860.     that would otherwise be lost, until the computer is able to read
  5861.     them.  National Semiconductor constructed the 16550A UART.  With the
  5862.     UART buffering, the computer can be busy doing something else for up
  5863.     to 16 character times, with no characters lost.
  5864.  
  5865.     The 16550A works with any serial port now using an 8250 or 16450.
  5866.     The 16550A is pin-for-pin identical to the 16450/8250.    However, no-
  5867.     thing comes for free.  Special software is needed to activate the
  5868.     buffer.  Unactivated, the 16550A acts as a 16450 without a buffer;
  5869.     simply a fast UART.
  5870.  
  5871.     With version 2.7, COM-AND recognizes the 16550A UART and activates it
  5872.     when a communications port is opened.  A script author may even
  5873.     inquire what type of UART is present (through the intrinsic "_UART").
  5874.     COM-AND resets the 16550A to its previous mode when the port is
  5875.     closed.
  5876.  
  5877.     The use of the 16550A UART provides a noticeable improvement in speed
  5878.     of transfers when a 4.77 Mhz CPU is used.
  5879.  
  5880.  
  5881.  
  5882.  
  5883.  
  5884. Version 2.9: 921203                           Appendices
  5885.  
  5886. COM-AND: IBM PC Communications and Accessories                 Page 103
  5887.  
  5888.  
  5889. R.    High-Speed Communication
  5890.  
  5891.  
  5892.     As described above (Appendix J, Background Operation), COM-AND imple-
  5893.     ments interrupt driven sends to maximize speed of file transfers
  5894.     (when COM-AND is sending).  This is particularly useful when COM-AND
  5895.     is used in the background DesqView or Windows 3.0.
  5896.  
  5897.  
  5898.     However, this method has drawbacks, too.  Particularly with the 8250
  5899.     UART (see above, Appendix Q, 16550A(N) UARTs), the maximum send rate
  5900.     can overrun the receiver, especially at high speeds.
  5901.  
  5902.  
  5903.     If you use COM-AND at 115k bps (or 57.6k bps sometimes) it is recom-
  5904.     mended interrupt driven sends be turned OFF.  TO do so, set SLOW
  5905.     TRANSFER ON in Alt-O (Options).  [The script command is SET SLOW ON.]
  5906.  
  5907.  
  5908.     Setting SLOW ON does not drastically reduce the speed with which
  5909.     sends are performed.  At most, under DOS, a few percent decrease in
  5910.     efficiency may be noticed while uploading (none during downloads).
  5911.     Under multi-tasking environments, a considerably larger decrease in
  5912.     efficiency may be noted when COM-AND is uploading in the background.
  5913.  
  5914.  
  5915.     16550A(N) UARTs may also be used to improve the transfer speed.
  5916.     Experimentation with a 16550A and your PC(s) is the only way to
  5917.     determine if COM-AND performs reliable transfers at 115k bps, given
  5918.     your PC's speed and the UARTS you use with SLOW OFF.
  5919.  
  5920.  
  5921.  
  5922.  
  5923.  
  5924.  
  5925.  
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931.  
  5932.  
  5933.  
  5934.  
  5935.  
  5936.  
  5937.  
  5938.  
  5939. Version 2.9: 921203                           Appendices
  5940.  
  5941. COM-AND: IBM PC Communications and Accessories                 Page 104
  5942.  
  5943.  
  5944. S.    Doorways
  5945.  
  5946.  
  5947.     A number of 'doorway' utilities are available for the intrepid PC
  5948.     communicator.  With a doorway utility running on a PC, and a connec-
  5949.     tion to another PC through a comm port established,  the display of
  5950.     the host PC (the one running the doorway) is ALSO displayed on the
  5951.     remote PC (the one connected), and keyentry from the remote PC is
  5952.     accepted by the host PC as if entered on the local keyboard.
  5953.  
  5954.  
  5955.     Literally, two people can work together in one program, document,
  5956.     spreadsheet, or what-have-you.    Albeit most 'doorway' type utilities
  5957.     are limited to text-only mode, this is not an overly severe limita-
  5958.     tion at this time.  [Don't try to doorway Windows, or graphics!]
  5959.  
  5960.  
  5961.     COM-AND, of course, provides a vehicle for connecting two PCs through
  5962.     a modem.  The CONNECT script, supplied in the scripts archive of this
  5963.     release allows one PC to go into autoanswer, to accept an incoming
  5964.     call.  The other side of the connection makes a call to the host PC
  5965.     in the usual manner.
  5966.  
  5967.  
  5968.     Once two PCs are connected through the modem, EITHER PC can then exe-
  5969.     cute the doorway function.  The doorway may be loaded ON-TOP of the
  5970.     existing communications program (i.e.  through a shell-to-DOS), or if
  5971.     the communications program permits, IN PLACE of the communications
  5972.     program.
  5973.  
  5974.  
  5975.     With version 2.8 of COM-AND, a new script, named DOORWAY, was
  5976.     included.  The DOORWAY script unloads COM-AND without breaking an
  5977.     existing connection, loads a doorway utility...  and on exit from
  5978.     the doorway utility reloads COM-AND, again without breaking the
  5979.     connection.  Used this way, almost all of the memory occupied by
  5980.     COM-AND in execution is freed for use by the doorway and DOS.
  5981.  
  5982.  
  5983.     Ths script DOORWAY requires editing;  you must change the first line
  5984.     to invoke the doorway utility you have, and the comm port you use.
  5985.     The script supplied is set for Marshall Dudley's DOORWAY utility.
  5986.     Any similar utility might be invoked in its place.
  5987.  
  5988.  
  5989.  
  5990.  
  5991.  
  5992.  
  5993.  
  5994. Version 2.9: 921203                           Appendices
  5995.  
  5996. COM-AND: IBM PC Communications and Accessories                 Page 105
  5997.  
  5998.  
  5999. S.    Doorways
  6000.  
  6001.  
  6002.     The host PC (the one running the doorway) keeps the display of the
  6003.     remote PC (the one NOT running the doorway) up-to-date using control
  6004.     sequences.  The remote must be set to the appropriate display emula-
  6005.     tion (in the case of Marshall Dudley's DOORWAY, the ANSI display
  6006.     emulation of Alt-V would be selected by the remote PC).
  6007.  
  6008.  
  6009.     The remote PC must have a means of sending not only simple keystrokes
  6010.     but a means to send function keys (if the remote user wants to have
  6011.     function and Alt'd keys available).  The remote PC must therefore
  6012.     distinguish function keystrokes from from simple text in what it
  6013.     sends.    For Marshall Dudley's DOORWAY (and all similar utilities),
  6014.     COM-AND supplies a 'mode', tied to the Alt-Minus key.  In 'Remote'
  6015.     mode, function (and Alt'd) keystrokes do NOT pop-up COM-AND windows;
  6016.     they are instead sent to the host doorway utility.
  6017.  
  6018.  
  6019.     The remote PC user toggles 'Remote mode' with the Alt-Minus key.
  6020.     This means that Alt-Minus itself is recognized by COM-AND in EITHER
  6021.     mode... and therefore Alt-Minus cannot be sent to the host.  A simple
  6022.     macro, or script may be used to send that one keystroke to the host.
  6023.  
  6024.  
  6025.     COM-AND converts mouse motion (and mouse-keyclicks) on the remote PC
  6026.     to cursor keys (keyclicks to PgUp, PgDn, ESC and CR) as discussed in
  6027.     Chapter V above, Menu mode.  Therefore, if the program running on the
  6028.     host accepts cursor keys and PgUp/PgDn, even the mouse on the remote
  6029.     PC is useful!
  6030.  
  6031.     To summarize, the host PC must (minimally):
  6032.  
  6033.     .  make connection with the remote by calling or answering a call
  6034.  
  6035.     .  load the doorway utility (plus whatever program the doorway
  6036.        executes;  the supplied DOORWAY script invokes the DOS prompt)
  6037.  
  6038.     .  exit the doorway utility (the remote user may initiate the exit
  6039.        too, in many cases)
  6040.  
  6041.     .  disconnect the call
  6042.  
  6043.  
  6044.  
  6045.  
  6046.  
  6047.  
  6048.  
  6049. Version 2.9: 921203                           Appendices
  6050.  
  6051. COM-AND: IBM PC Communications and Accessories                 Page 106
  6052.  
  6053.  
  6054. S.    Doorways
  6055.  
  6056.  
  6057.     The remote PC's operation is a bit more complex.  It must:
  6058.  
  6059.     .  make connection with the host by calling or answering a call
  6060.  
  6061.     .  select appropriate display emulation (ANSI is usual) with Alt-V
  6062.  
  6063.     .  select other options according to the host's software:
  6064.  
  6065.        ..  Display control chars (Alt-O) should probably be ON
  6066.            (control characters are commonly used as displayed characters)
  6067.  
  6068.        ..  XON/XOFF software flow control (Alt-O) should probably be OFF
  6069.            (XON/XOFF are control characters commonly used in displays)
  6070.  
  6071.        ..  The status line should probably be turned OFF (in Alt-V)
  6072.            (depending on the doorway and the application)
  6073.  
  6074.        ..  Line wrap should probably be turned OFF (in Alt-V)
  6075.            (depending on the doorway and the application)
  6076.  
  6077.        ..  Menu mode should probably be turned OFF (with Alt =).  [Menu
  6078.            selection is performed with cursor keys.  In 'Remote' mode,
  6079.            these are sent to the host.]
  6080.  
  6081.     .  select 'remote' mode with Alt-Minus to send function keys to host
  6082.  
  6083.     .  return to usual after the doorway session by toggling Alt-Minus
  6084.        again (to exit COM-AND, one presses Alt-X;  in 'Remote mode', the
  6085.        Alt-X is simply sent to the host; turn OFF 'Remote mode' to exit!)
  6086.  
  6087.     .  disconnect from the call
  6088.  
  6089.  
  6090.  
  6091.  
  6092.  
  6093.  
  6094.  
  6095.  
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104. Version 2.9: 921203                           Appendices
  6105.  
  6106. COM-AND: IBM PC Communications and Accessories                 Page 107
  6107.  
  6108.  
  6109. T.    Command Index
  6110.  
  6111.  
  6112.     Key      Meaning                    Page
  6113.     --------- --------------------------------------------- -----
  6114.     F1      Switch between CRT and Accessory.        12,8-9
  6115.     F2      Perform a script                15,68
  6116.     F3      Set current disk/subdirectory         15,59
  6117.     F4      Set default download disk/subdirectory    15,54
  6118.     F5      ASCII upload.                 15,51
  6119.     F6      ASCII download.                15,53
  6120.     F7      Toggle logging (transcripting).        15,58
  6121.     F8      Toggle display of typed characters.        15,59
  6122.     F9      Toggle Log hold.                15,58
  6123.     F10      Help screen.                    12
  6124.     Alt-F10   DOS Gateway.                    12,63
  6125.     Alt-A      Toggle chat mode (on CRT screen)        17,59
  6126.     Alt-B      Redisplay (backscreen).            17,59
  6127.     Alt-C      Clear the screen.                12,60
  6128.     Alt-D      Dialing directory.                12,19-22
  6129.     Alt-E      Toggle echo (full/half duplex).        12,60
  6130.     Alt-F      File directory.                12,54
  6131.     Alt-G      Toggle blank line suppression         12,60
  6132.     Alt-H      Hangup.                    12,23
  6133.     Alt-I      Program information.                13
  6134.     Alt-J      Set screen colors                17,43
  6135.     Alt-K      Set KERMIT parameters             17,60
  6136.     Alt-L      Toggle 25/43(50) line modes            17,60
  6137.     Alt-M      Define a macro for Alt-0 through Alt-9.    13,24
  6138.     Alt-N      Encrypt/Decrypt a file            13,27
  6139.     Alt-O      Set program options.                13,36-43
  6140.     Alt-P      Comm Parameters.                13,34
  6141.     Alt-Q      Edit a file                    13,69
  6142.     Alt-R      Redial the last number dialed.        13,22
  6143.     Alt-S      Setup.  Define initial program values.    14,30-33
  6144.     Alt-T      Elapsed time.                 14,61
  6145.     Alt-U      Annotate call-log                14,58
  6146.     Alt-V      Emulation, Translate, and Remap        64
  6147.     Alt-W      Playback                    17,61
  6148.     Alt-X      Exit the program.                14,61
  6149.     Alt-Y      Error information.                75
  6150.     Alt-Z      Toggle parity mask.                14,62
  6151.     Alt-0/9   Send a Macro.                 14,24
  6152.     Alt-Minus Toggle remote function key usage (Doorways)    17,104
  6153.     Alt-Equal Toggle menu mode                17,10
  6154.     PgUp      Begin an upload                16,44-54
  6155.     PgDn      Begin a download                16,44-54
  6156.     Ctl-End   Send a Break.                 12
  6157.     Ctl-PrtSc Toggle printer (LP1)                12
  6158.  
  6159. Version 2.9: 921203                           Appendices
  6160.